Title: Show Private
Author: AMIB
Published: <strong>2011 年 7 月 17 日</strong>
Last modified: 2021 年 6 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/show-private.svg)

# Show Private

 作者：[AMIB](https://profiles.wordpress.org/amib/)

[下载](https://downloads.wordpress.org/plugin/show-private.zip)

 * [详情](https://cn.wordpress.org/plugins/show-private/#description)
 * [评价](https://cn.wordpress.org/plugins/show-private/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/show-private/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/show-private/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

![](https://secure.gravatar.com/avatar/3467afc0ebe36f9d73ad2daa33cf94f5deaa0c909f88d7d7d4ad9cf3f3757371?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly!](https://wordpress.org/support/topic/works-perfectly-1640/)󠁿

 [ajiaim](https://profiles.wordpress.org/ajiaim/) 2019 年 3 月 4 日

Great plugin! Thanks!

![](https://secure.gravatar.com/avatar/1436e5f774cc121580eeedf0763846c700ded02ca705dc04382da203a4df95fa?
s=60&d=retro&r=g)

### 󠀁[Works perfectly!](https://wordpress.org/support/topic/works-perfectly-1109/)󠁿

 [Rose](https://profiles.wordpress.org/thorned-rose/) 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条评价 ](https://wordpress.org/support/plugin/show-private/reviews/)

## 贡献者及开发者

「Show Private」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ AMIB ](https://profiles.wordpress.org/amib/)

[帮助将「Show Private」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/show-private)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/show-private/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/show-private/)，或通过[RSS](https://plugins.trac.wordpress.org/log/show-private/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/show-private/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **0.2.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **5.7.15**
 *  语言
 * [English (US)](https://wordpress.org/plugins/show-private/)
 * 标签
 * [attachment](https://cn.wordpress.org/plugins/tags/attachment/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [private](https://cn.wordpress.org/plugins/tags/private/)[show](https://cn.wordpress.org/plugins/tags/show/)
 *  [高级视图](https://cn.wordpress.org/plugins/show-private/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/show-private/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/show-private/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/show-private/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/show-private/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/show-private/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/show-private/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/show-private/reviews/)

## 贡献者

 *   [ AMIB ](https://profiles.wordpress.org/amib/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/show-private/)