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

Show Private

外掛說明

This plugin provides access to “Private Pages” and “Private Attachments” for everyone using their direct link and removes “Private” prefix from title of this pages.

安裝方式

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Deactivate plugin any time to disable its effect.

常見問題集

A page of my weblog is set to Private but it is indexed by google. Why?

There are diffrent situations:
Maybe there is a link to the private page in another public page, in XML site map, another site, etc.
You may add “noindex” meta directive for this kind of pages if required.

使用者評論

2017 年 3 月 20 日
Thanks for this plugin! It has saved me so much work. I can now ensure that certain posts are shareable via URL but do not show up in archive pages. To be doubly sure that these private posts did not show up in search engine results, I used a custom field that inserts robots noindex meta to the head of the page. function add_meta_noindex() { global $post; $noindex = get_post_meta($post->ID, 'noindex-post', true); if ($noindex) { echo "<meta name=\"robots\" content=\"noindex,nofollow,noarchive,nocache,nosnippet,noodp,noydir,noimageindex\" />\n"; } } add_action('wp_head', 'add_meta_noindex');
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Show Private〉的開發相關工作。

參與者

將〈Show Private〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.2.1

  • fixed a bug with private attachments in Media Library

0.2

  • support for private attachments added( needs test with diffrent themes and plugins )

0.1

  • first release