跳到内容

Secret Content

v1.0

maxemil · 2012年3月1日 上架

Easily mark any post or a page as "for logged in members only", hiding it from public view! (not for custom post types).

正在使用
100+
评分
5.0 / 5
累计下载
6,672
最近更新
2012年3月1日
1 条评价需要 WordPress 2.8+已测试到 3.3.2

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums