Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › How to protect WordPress "pages" using eMember "protect categories"?
- This topic has 6 replies, 4 voices, and was last updated 10 years, 7 months ago by wzp.
-
AuthorPosts
-
April 1, 2012 at 10:20 pm #5988einfohoundParticipant
The following is a quote out of the eMember documentation…
The easiest way to manage content protection is through the protection of “Categories”. It allows you to give access to all the posts or pages under a certain category without having to individually select each post or page. So for example, you can create a category called “Basic” and put all the posts and pages under this category that you want to give access to for the “Basic” Membership level.
The problem with the above is that, by default, WordPress does not provide a way to assign a category to a “page”. There are, however, a couple plugins available that will allow this. I installed on of these plugins. I created a category called “Restricted”. I assigned several pages and posts to this category. Under Membership Level–>Manage Content Protection–>General Protection–>Categories, I selected this category. This should prevent anyone not signed in from accessing anything assigned to this content. It works for the posts. However, I can access the WP pages assigned to this category even when I am not signed in.
I know I can get around this by protecting each WP page. I am going to be creating a lot of pages (instead of posts). It would be much easier to protect them with this one option instead of having to remember to protect each page as I create it.
Can this work?
April 3, 2012 at 3:44 am #43633adminKeymasterWordPress doesn’t support categories on pages by default so we were facing some issues after a new WordPress release. Hacks are a little hard to maintain in the long run. Not many users use categories with WP Pages so we disabled the category protection hack for WP Pages in eMember. Since you want to use this category for WP Pages we will look into it again ans see what we can do.
April 3, 2012 at 12:47 pm #43634einfohoundParticipantThanks for looking at it. It sure would make it easier for what I need to do.
April 4, 2012 at 2:30 am #43635adminKeymasterWe have re-enabled the category protection for pages. Get a new build of eMember and the category protection on pages will work.
April 4, 2012 at 10:03 pm #43636einfohoundParticipantThanks! Works like a champ!
April 28, 2014 at 10:39 pm #43637pmirdaMemberI am facing a similar issue. I just updated my WP eMember but for some reason, the “contents” pages are still available to non-members. I want this content only visible to logged in members. What should I do from here?
April 28, 2014 at 10:49 pm #43638wzpModeratorYou should go through this checklist:
Have you enabled Site-Wide Protection?
-
AuthorPosts
- You must be logged in to reply to this topic.