Good morning everybody and welcome to this Monday edition of our live session on How to Create a Membership Website. This is our long-awaited 12th and final session in the series.
Today, what we’re going to talk about is how to display teaser content to people who aren’t otherwise, authorized to view the content. As you know, at the moment, the way this is designed is that the entire content is hidden from somebody if they don’t have access to it.
For example, we’re here on Week 12 which is the site we’re working on today. I’m going to log in as a member. This shows us the two different courses that we have access to. If we select one of those courses, for example, how to install this, we can see here’s the course material and the course that’s available to us.
Display Friendly Teaser Content
If what we do instead is we try to view a course that’s not available to us, say for example, How to Create an Online Store, you see this default behavior of WP eMember. While this may accomplish what it is you’re after, I feel like we’re better off providing some kind of teaser content and a much friendlier message than simply “Content is restricted”.
That’s what we’re going to show today, how to show some teaser content and how to make a more sales-friendly the message. The first problem is simply that there’s the possibility that there’s no ability to display a different message and then the message that is less than friendly.
Purchasing a Course in a Logged In Status
There is, however, a second problem as well that applies specifically to members and that is the way WP eMember works. If you want to add a membership level or in this case, add say, a course to an existing membership level, the member needs to be logged in while they make that purchase otherwise the new purchase doesn’t get added to their existing account.
What we want to do is when they click on a course that’s not actually available to them, rather than just telling them that the content is restricted, we want to give them an opportunity to purchase this course and purchase it in a logged in status rather than purchasing it in a logged out status. Those are the two things we’ll be addressing here today.
Neither of the things that I’ve just described are inherently available in WP eMember so I wrote a plugin for the purpose of providing us with a functionality that I felt like WP eMember was lacking but that I thought was important for a good, friendly, useful membership site. We’re going to talk about how to use that plugin and use that plugin in a variety of contexts to provide this teaser content.