Secret Content Secret Content

Secret Content

Created by: Emil Vang Arffmann

Rating:
Downloaded: 5k times

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.

Screenshots

  • When you edit a post or page, simply use the checkbox "Show this to logged in visitors only"

Categories

Get New Themes & Resources