Site icon My Two Cents

Sixth WordPress Workshop – Novi Sad

Mac with opened WordPress dashboard, coffee, phone, notebook, and a pen

Photo by Pixabay on Pexels.com

During the sixth WordPress workshop in Novi Sad, we first took a look at the solution of the task that I gave to the attendees at the previous workshop. We then covered creating membership sites – the WordPress built-in way and by using a plugin Ultimate Member.

Creating a Plugin

During the fifth WordPress workshop, we created a plugin which adds the alt value to all Gravatar images. For homework, everyone was supposed to create a plugin of their own which would add the name of the author in front of the title of each post and says:.

If the post title is Hello World, the end result (instead of just the post title) should be Daki says: Hello World (if Daki is the name of the author of the post). And as a bonus task, the plugin should also add the author’s Gravatar image to the title with the dimensions of 15x15px.

This is a task I made up so there’s no copy/paste solution available online 🙂 However, for finding the right hooks and functions to use, Google is your best friend.

Here’s the function that needs to be added to the plugin in order to achieve the aforementioned result:

https://gist.github.com/davoraltman/f682c24be33fa5e71d6ec452838ea2b0

And now, the copy/paste solution is available online 🙂

Creating a Membership Site

There are two main ways for creating a membership site in WordPress. The first one is to use the built-in WordPress functionality and publish posts/pages as Private or Password protected. However, this is not a very flexible solution as you can’t really control user capabilities, there’s no members area, and you’d lack lots of really cool options that membership sites have.

Enter Ultimate Member. There are many WordPress membership plugins available online but Ultimate Member is the one I use the most and always recommend. It’s user-friendly and easy to set up. They have decent documentation available and there are quite a few free and premium extensions you can use.

Here’s a video walkthrough of creating a membership site by using the Ultimate Member plugin:

I’m speaking in Serbian but the whole interface is in English

During the video, I’m basically going through the tasks I gave the attendees in order to practice creating a membership site:

Next

If you’re interested in exploring different membership plugins, Chris Lema has a really nice series of posts on this subject.

As for our WordPress workshops, next Saturday will be the last workshop this year. We’ll have three speakers joining us who will talk about their WordPress beginnings and how they made a career in WordPress. I hope this will further inspire the attendees to dive into WordPress deeply. In my humble opinion, it’s the perfect ending for the workshops 🙂

Exit mobile version