该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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