Title: Show Comment Policy
Author: jp2112
Published: <strong>2014 年 4 月 19 日</strong>
Last modified: 2015 年 1 月 20 日

---

搜尋外掛

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

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

# Show Comment Policy

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

[下載](https://downloads.wordpress.org/plugin/show-comment-policy.zip)

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

 [技術支援](https://wordpress.org/support/plugin/show-comment-policy/)

## 外掛說明

Show Comment Policy lets you display a custom message above your site’s comment 
form. Display your blog comment policy or any other text you want your readers to
see.

Use it for:

 * Comment policy
 * Posting rules
 * List of allowed HTML tags in comments

### If you need help with this plugin

If this plugin breaks your site or just flat out does not work, please go to [Compatibility](https://wordpress.org/plugins/show-comment-policy/#compatibility)
and click “Broken” after verifying your WordPress version and the version of the
plugin you are using.

Then, create a thread in the [Support](https://wordpress.org/support/plugin/show-comment-policy)
forum with a description of the issue. Make sure you are using the latest version
of WordPress and the plugin before reporting issues, to be sure that the issue is
with the current version and not with an older version where the issue may have 
already been fixed.

**Please do not use the [Reviews](https://wordpress.org/support/view/plugin-reviews/show-comment-policy)
section to report issues or request new features.**

## 螢幕擷圖

 * [[
 * Plugin settings page
 * [[
 * The comments section showing the comment policy entered on the plugin settings
   page

## 安裝方式

 1. Upload plugin file through the WordPress interface.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Settings » Show Comment Policy, configure plugin.
 4. Check a post or page that allows comments.

## 常見問題集

  How do I use the plugin?

Go to Settings » Show Comment Policy and enter the text you want to see above the
comment form. Make sure the “enabled” checkbox is checked. Note that the comment
policy will only be displayed on pages/posts where the comments are open. If comments
are closed, the policy will not appear. You may also includes shortcodes which will
be processed for output.

  I entered some text but don’t see anything on the page.

Are you using another plugin that is also trying to use the **comment_form_before**
hook?

Is the page/post cached?

Are comments open? The comment policy will only display if comments are actually
open.

  How can I style the output?

The comment policy text is wrapped in div tags with class name “scp-comment-policy”.
Use this class in your local stylesheet to style the output how you want.

  I don’t want the admin CSS. How do I remove it?

Add this to your functions.php:

    ```
    remove_action('admin_head', 'insert_scp_admin_css');
    ```

## 使用者評論

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

### 󠀁[good job!!!](https://wordpress.org/support/topic/good-job-638/)󠁿

 [fuhrn](https://profiles.wordpress.org/fuhrn/) 2017 年 2 月 8 日

nice and simple

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/show-comment-policy/reviews/)

## 參與者及開發者

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

參與者

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

[將〈Show Comment Policy〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/show-comment-policy)

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

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

## 變更記錄

#### 0.1.2

 * confirmed compatibility with WordPress 4.1

#### 0.1.1

 * updated .pot file and readme

#### 0.1.0

 * fixed validation issue

#### 0.0.9

 * minor code optimizations

#### 0.0.8

 * code fix
 * admin CSS and page updates

#### 0.0.7

 * updated support tab

#### 0.0.6

 * minor code fix

#### 0.0.5

 * code fix

#### 0.0.4

 * option to hide output for logged in users
 * now processes shortcodes
 * code optimizations
 * plugin settings page is now tabbed

#### 0.0.3

 * fix 2 for wp_kses

#### 0.0.2

 * fix for wp_kses

#### 0.0.1

 * created
 * verified compatibility with 3.9

## 中繼資料

 *  版本 **0.1.2**
 *  最後更新 **11 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.9.40**
 *  語言
 * [English (US)](https://wordpress.org/plugins/show-comment-policy/)
 * 標籤:
 * [blog](https://tw.wordpress.org/plugins/tags/blog/)[comments](https://tw.wordpress.org/plugins/tags/comments/)
   [policy](https://tw.wordpress.org/plugins/tags/policy/)
 *  [進階檢視](https://tw.wordpress.org/plugins/show-comment-policy/advanced/)

## 評分

 5 星，滿分為 5 星

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

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

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

## 參與者

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

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7EX9NB9TLFHVW)