plugin-icon

Secret Content

By maxemil·
Easily mark any post or a page as "for logged in members only", hiding it from public view! (not for custom post types).
Rating
5/5
Version
1.0
Active installations
200
Last updated
Mar 1, 2012
Secret Content

Simply tick the checkbox “Show this to logged in visitors only” This works on a per post / per page basis. Not yet enabeled for custom post types.

You do not need to insert custom functions or shortcodes. You do not need to change theme template files. This plugin works by filtering WordPress core functions.

If you “hide” a parent page, the children will be hidden in the menu as well.

Technically the filters are modifying the query or the result of databse calls on standard WP features: wp_get_nav, wp_list_pages, $posts, previous_post, next_post. When ticking the checkbox, the plugin saves a key/value pair in the postmeta database table. When uninstalling the plugin, the entrys to the postmeta table are deleted.

Suggestions, Questions and feedback are welcome.

Freeon Business plan
Tested up to
WordPress 3.3.2
This plugin is available for download for your site.