Title: Toggle Post Type Visibility
Author: Nick Halsey
Published: <strong>2025 年 9 月 14 日</strong>
Last modified: 2026 年 7 月 19 日

---

搜尋外掛

![](https://ps.w.org/toggle-post-type-visibility/assets/icon.svg?rev=3361142)

# Toggle Post Type Visibility

 由 [Nick Halsey](https://profiles.wordpress.org/celloexpressions/) 開發

[下載](https://downloads.wordpress.org/plugin/toggle-post-type-visibility.zip)

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

 [技術支援](https://wordpress.org/support/plugin/toggle-post-type-visibility/)

## 外掛說明

Toggle the visibility of any custom post type between public and restricted to logged-
in users. This simple plugin can be paired with account management strategies to
create membership-only content restrictions.

## 安裝方式

 1. Take the easy route and install through the WordPress plugin installer, or,
 2. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Go to the Toggle Post Type Visibility page under Settings to set the visibility
    of each post type.

## 常見問題集

### Where are the options?

See the sub-page under the settings menu. Options will only show up for custom post
types registered with `public => true`.

### Inconsistent behavior for logged out users?

Logged-out users may see inconsistent behavior when attempting to access content
that is hidden. They will likely see the front page, or the `post` type archive.
They may see a 404 error. For best results, avoid including menus or other links
to hidden content from public pages.

### Access management

This plugin limits access to logged-in users. It does not provide any special handling
of user registration management. Anyone at the `subscriber` level or greater can
view all content filtered by this plugin. There is a warning on the settings page
when sites allow anyone to register, which will allow anyone to view content restricted
by this plugin. There are no plugin options to change the visibility restriction;
the only level of access restriction is for logged-in status.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Toggle Post Type Visibility〉的開發相關工作。

參與者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

[將〈Toggle Post Type Visibility〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/toggle-post-type-visibility)

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

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

## 變更記錄

#### 1.0

 * First publicly available version of the plugin.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.6**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/toggle-post-type-visibility/)
 * 標籤:
 * [custom post types](https://tw.wordpress.org/plugins/tags/custom-post-types/)
   [membership](https://tw.wordpress.org/plugins/tags/membership/)[post types](https://tw.wordpress.org/plugins/tags/post-types/)
 *  [進階檢視](https://tw.wordpress.org/plugins/toggle-post-type-visibility/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/toggle-post-type-visibility/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/toggle-post-type-visibility/reviews/)

## 參與者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/toggle-post-type-visibility/)