Title: Private Suite
Author: Stephanie Leary
Published: <strong>2009 年 10 月 14 日</strong>
Last modified: 2016 年 4 月 22 日

---

搜尋外掛

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

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

# Private Suite

 由 [Stephanie Leary](https://profiles.wordpress.org/sillybean/) 開發

[下載](https://downloads.wordpress.org/plugin/private-suite.2.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/private-suite/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/private-suite/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/private-suite/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/private-suite/#developers)

 [技術支援](https://wordpress.org/support/plugin/private-suite/)

## 外掛說明

 * Optionally adds private pages to `wp_list_pages()`, `wp_page_menu()`, and the
   Pages widget
 * Provides a separate `wp_list_private_pages()` tag (a clone of `wp_list_pages()`
   that accepts all the same arguments)
 * Specifies private categories, in which all posts will automatically be set to
   private
 * Lets you change the “Private:” prefix on private post/page titles
 * Lets you change the “Protected:” prefix on password-protected post/page titles
 * Lets you choose which user roles can read private pages and posts

Now on [GitHub](https://github.com/sillybean/private-suite).

#### Translations

 * French (fr_FR) by Regis Lemaire
 * Bulgarian (bg_BG) by [SiteGround](http://www.siteground.com/)
 * Turkish (tr_TR) by [Ömer Faruk Karabulut](http://bijoubijouterie.com)

### Notes

### Reading Settings

You must have at least one public page. Otherwise, as of 3.1, the front page settings(
where you can choose a static page as your home page) will not appear on the settings
page at all. As long as you have one public page, all the private pages will appear
as options in the dropdown menu.

### Page Lists and Widgets

Adding private pages to `wp_list_pages()`, `wp_page_menu()`, and the Pages widget
does not always work as it should. The private pages will be out of order, and they
might appear as children of the wrong parent page. If this occurs, try using the`
wp_list_private_pages()` template tag instead. It’s a clone of `wp_list_pages()`
and should accept all the same arguments. This plugin includes an extra Pages widget
that includes private pages.

### Private Categories

When you mark a category as private, all the posts in that category will have their
visibility set to private when they are published, even if you don’t change the 
visibility setting on the edit screen. Only published posts are affected; your draft,
pending, and scheduled posts will work as usual, except that scheduled posts will
be set to private when they become active.

### Acknowledgments

Huge thanks to [mtekk](https://profiles.wordpress.org/mtekk) for providing the [patch](https://core.trac.wordpress.org/ticket/8592)
that makes the page list features possible. The alternative method of listing pages
was adapted from [Branko Ajzele](http://activecodeline.com/create-a-menu-for-private-pages-and-posts-in-wordpress).

### Translations

If you would like to send me a translation, please write to me through [my contact page](http://sillybean.net/about/contact/).
Let me know which plugin you’ve translated and how you would like to be credited.
I will write you back so you can attach the files in your reply.

## 螢幕擷圖

 * [[
 * The options page

## 安裝方式

 1. Upload the plugin directory to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Stephanie Leary ](https://profiles.wordpress.org/sillybean/)

[將〈Private Suite〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/private-suite)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/private-suite/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/private-suite/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/private-suite/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/private-suite/)。

## 變更記錄

#### 2.1

 * Fixed bug where password-protected prefix field incorrectly displayed private
   prefix value.
 * Category walker update.
 * Widget constructor update.

#### 2.0

 * private, future, draft, and pending pages are now available as parents in page
   attributes and quick edit dropdowns
 * private pages can be added to nav menus (but do not announce themselves as private,
   and will lead anonymous visitors to a 404 page)
 * private pages can be added to page lists and widgets
 * fixed uninstall hook
 * fixed ‘8’ in add_options_page, argh
 * updated options page to use settings API
 * referred role management to [Members](https://wordpress.org/extend/plugins/members/)
 * fixed save_post action to avoid database call
 * using mb_ereg_replace to handle multibyte strings in Private/Protected prefixes

#### 1.2.3

 * Turkish translation

#### 1.2.2

 * Bulgarian translation

#### 1.2.1

 * Fixed a bug involving a reference to an obsolete function. (January 3, 2011)

#### 1.2

 * Added support for custom roles.
 * Fixed a problem in the way roles worked.
 * Fixed bug with accented characters in title prefixes. (December 16, 2010)

#### 1.1

 * Fixed list markup when forcing private pages to appear in page lists (Thanks,
   Tina and Sébastien!)
 * French translation by Regis (August 5, 2010)

#### 1.01

 * Fixed bug that caused conflicts with other plugins’ widgets.
 * Fixed formatting of category checkboxes on the options page. (January 24, 2010)

#### 1.0

 * New `wp_list_private_pages()` tag.
 * Fixed markup (somewhat) when adding private pages to existing template tags.
 * Added private pages to parent dropdown when editing pages.
 * Added page widget that includes private pages.
 * Added private categories feature.
 * Fixed prefix fields to work with HTML (e.g. tags)
 * Translation support. (January 16, 2010)

#### 0.9

 * First release (October 15, 2009)

## 中繼資料

 *  版本 **2.1**
 *  最後更新 **10 年前**
 *  啟用安裝數 **60+**
 *  WordPress 版本需求 ** 3.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.5.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/private-suite/)
 * 標籤:
 * [categories](https://tw.wordpress.org/plugins/tags/categories/)[password](https://tw.wordpress.org/plugins/tags/password/)
   [privacy](https://tw.wordpress.org/plugins/tags/privacy/)[private](https://tw.wordpress.org/plugins/tags/private/)
   [users](https://tw.wordpress.org/plugins/tags/users/)
 *  [進階檢視](https://tw.wordpress.org/plugins/private-suite/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/private-suite/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/private-suite/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/private-suite/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/private-suite/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/private-suite/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/private-suite/reviews/)

## 參與者

 *   [ Stephanie Leary ](https://profiles.wordpress.org/sillybean/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/private-suite/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://sillybean.net/code/wordpress/private-suite/)