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

Source Codes in Comments

外掛說明

Allow users to post source codes in comments using tag. No syntax highlight at the moment, it just replaces the special characters.

Features

  • Replaces the special characters for the comment texts wrapped in tags
  • You can show a message after comment form to tell your visitor know they can post codes using tags

Plugin Info Page | Plugin Author

螢幕擷圖

  • Plugin Option Page
  • Comment form

安裝方式

  1. Download the plugin package
  2. Extract and upload the “source-codes-in-comments” folder to your-wordpress-directory/wp-content/plugins/
  3. Activate the plugin and its ready
  4. Go to Admin Panel > Settings > Codes in Comments and customise it to suit your needs.

常見問題集

What is the output? Show me an example.

If you use

This is a <b>bold text</b>.

, the output will be <div class="cic_codes_div"><code >This is a &lt;b&gt;bold text&lt;/b&gt;</code></div>.

How do I style the source code DIV?

The DIV that contains the codes has CSS class "cic_codes_div". Style it in CSS.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Source Codes in Comments〉的開發相關工作。

參與者

將〈Source Codes in Comments〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Added str_replace to the stripslashes so that “plugin message” field works with double quotes

1.0.1

  • Added stripslashes to input area
  • Updated the link to plugin support

1.0

  • First version of Source Codes in Comments