Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Hide content from non members
Tagged: Hide content, hide menus, membership, protection
- This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by admin.
-
AuthorPosts
-
June 26, 2013 at 11:34 am #9266pikeMember
Hi, I just bought the plugin. However, I get a little confused regarding user management and members etc.
I want to hide certain posts/pages etc. from to logged in users. They shouldn’t show up at all if not logged in. In your forum it’s explained that this is handled by the theme. But, normally there are plugins that handles this for you (Rolescoper, UAM etc.).
Why can’t this be implemented in your plugin (since all access, users etc. is handled from here)?
If I use a separate plugin to do this. Well, first of all it would be messy keeping track of where to change everything that comes to access (which is the main purpose of having different access, security etc. Rather important to know what you are doing). Second I would be forced to have both wp users and member users, and that is not good at all.
I think this is an essential function to be able to create a clean page for all the visitors that is not members. And of course, to show the members that the site changes when they login.
Thanks!
John
June 27, 2013 at 3:47 am #56340adminKeymasterHi John, WP eMember has functions that you can use to hide any content on your site that is outside the standard post/page content area. Your can use those functions from your templates to customize content protction. The following documentation has details and exmaples:
http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248
You can use the knowledge to create WordPress navigation menu that shows different menu items to different membership levels. Here is a tutorial for it:
There is nothing wrong with the following… why would you say that it is not good?
I would be forced to have both wp users and member users, and that is not good at all.
Our membership plugin doesn’t require the usage of the core WordPress user table (many of our customer like this) but that doesn’t mean there is anything *bad* about it. It’s a matter of preference I guess. If you want to use the standard WordPress users table and role you can, if you don’t then you don’t have to.
Another good content protection documentation to check is the following (It offers a good overview):
-
AuthorPosts
- You must be logged in to reply to this topic.