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

WordPress Code Snippet

外掛說明

This plugin will allow you to add code snippets to your pages/posts. This is great for code tutorial sites.

Upgrading

If you are upgrading from version 1.0, you will see an option on the Code Library page that will allow you to upgrade. As a precautionary measure, be sure to back up your database before doing so.

安裝方式

  1. Download the plugin, extract and upload it to your plugins folder on your server.

  2. Activate the plugin.

  3. Access the Code Library section.

  4. Create a new snippet and save.

  5. Return to the Code Library and select the “Code” link.

  6. Copy the code.

  7. Add or edit a page or post and paste the code into the HTML of the page/post where you want it to display.

  8. Publish or Save the page/post.

使用者評論

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

參與者及開發者

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

參與者

將〈WordPress Code Snippet〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.0

  • Major overhaul of version 1.0.
  • Moved code to a reusable code library so that it is no longer limited to one page/post.
  • Snippets can now be placed anywhere in the post/page’s content.
  • More than one snippet can be added to a page/post.
  • One click upgrade feature to upgrade from version 1.

2.0.1

  • Updated option credit link as an option and not the default.

2.0.2

  • Some users have reported that their snippets are escaped with a slash. Added stripslashes to outputted snippets.