plugin-icon

Secret Content

Автор: maxemil·
Easily mark any post or a page as "for logged in members only", hiding it from public view! (not for custom post types).
Рейтинги
5
Версия
1.0
Активные установки
200
Последние изменения
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.

Проверено на
WordPress 3.3.2
Этот плагин можно скачать и использовать при .