Title: ContentProtector &#8211; password protect your page, post or text
Author: Anton
Published: <strong>2025 年 1 月 7 日</strong>
Last modified: 2025 年 1 月 7 日

---

搜尋外掛

![](https://ps.w.org/contentprotector/assets/banner-772x250.png?rev=3218554)

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

![](https://ps.w.org/contentprotector/assets/icon-256x256.png?rev=3218554)

# ContentProtector – password protect your page, post or text

 由 [Anton](https://profiles.wordpress.org/antonphp/) 開發

[下載](https://downloads.wordpress.org/plugin/contentprotector.1.0.zip)

[即時預覽](https://tw.wordpress.org/plugins/contentprotector/?preview=1)

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

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

## 外掛說明

**ContentProtector** is a lightweight and flexible plugin that allows you to protect
your WordPress content with passwords. You can protect an entire post or page, or
just a specific portion of the content.

### Features

 * **Global Protection**: Set a global password for all posts or pages.
 * **Partial Content Protection**: Use a shortcode to protect only a specific part
   of your content.
 * **Customizable**: Easy to set up with a clean and intuitive admin interface.
 * **Secure**: Uses WordPress Nonces and cookies for secure password handling.

### How It Works

 1. Use the shortcode `[cpwp_protect password="your_password"]` to protect an entire
    post or page.
 2. Use `[cpwp_protect_content password="your_password"]` to protect only a portion
    of your content.

Example for partial content protection:
 `html [cpwp_protect_content password=”pass”]
This content is protected by a password. Enter the password to view it. [/cpwp_protect_content]

## 螢幕擷圖

 * [[
 * Admin settings page with configuration options.
 * [[
 * Password protect block

## 安裝方式

Download the plugin and upload the contentprotector folder to the /wp-content/plugins/
directory.
 Activate the plugin through the “Plugins” menu in WordPress. Go to the
ContentProtector menu in the WordPress dashboard to configure settings.

## 常見問題集

### Can I use different passwords for different posts or content?

Yes! Each shortcode instance can have its own password.

### What happens if a user enters the wrong password?

The plugin will show an error message and prompt the user to try again.

### Can I use this plugin on a multisite installation?

Yes, ContentProtector works perfectly on WordPress multisite.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈ContentProtector – password protect your page, post or text〉
的開發相關工作。

參與者

 *   [ Anton ](https://profiles.wordpress.org/antonphp/)

[將〈ContentProtector – password protect your page, post or text〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/contentprotector)

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

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

## 變更記錄

#### 1.0

Initial release.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **1 年前**
 *  啟用安裝數 **5,000+**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/contentprotector/)
 * 標籤:
 * [content-protection](https://tw.wordpress.org/plugins/tags/content-protection/)
   [password](https://tw.wordpress.org/plugins/tags/password/)[Password Protect](https://tw.wordpress.org/plugins/tags/password-protect/)
   [protection](https://tw.wordpress.org/plugins/tags/protection/)[restrict content](https://tw.wordpress.org/plugins/tags/restrict-content/)
 *  [進階檢視](https://tw.wordpress.org/plugins/contentprotector/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Anton ](https://profiles.wordpress.org/antonphp/)

## 技術支援

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

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