這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

螢幕截圖

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

安裝

  1. Download the plugin.
  2. Upload it to the plugins folder of your blog.
  3. Goto the Plugins section of the WordPress admin and activate the plugin.

常見問題

How do I hide a post or a page?

Simply tick the checkbox shown at the post/page edit screen.

How do I make the post or page public viewable again?

UN-tick the checkbox shown at the post/page edit screen.

Do I need to modify my theme, insert functions or write code?

No, You simply activate the plugin, and let the plugin work for you.

My visitors dont see the post or a page, and they ARE logged in!

Make sure you have PUBLISHED the post/page and that it is not “draft” or “private”.

I dont see the metabox or the option to hide a post/page?

Check your screen settings. Make sure the “Show this to logged in visitors only?” is ticked. (screen settings is found in the tab in the top right, below your “hello username”).

I still dont see the metabox…

Did someone deactivate the plugin? Try activating it again!

評價

There are no reviews for this plugin.

貢獻者及開發者

“Secret Content” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Secret Content 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.9
* First release in English only.

1.0
* In english, with Danish translation