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

Custom JavaScript Editor

外掛說明

Add custom JavaScript to your site from an editor in the WordPress admin.

Your code is stored and revisioned with a custom post type, so you can always go back to a previous working state.

If you’d like to check out the code and contribute, join us on GitHub. Pull requests are more than welcome!

螢幕擷圖

  • The back end editor
  • The front end editor
  • The front end editor

安裝方式

  1. Upload the custom-javascript-editor folder to your plugins directory (e.g. /wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Custom JavaScript Editor〉的開發相關工作。

參與者

將〈Custom JavaScript Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1 (Nov. 19, 2012)

  • The editor has a syntax highlighter with configurable themes.
  • jQuery Masonry is available as a library to use
  • Bug fix: Stop stripping arbitrary HTML markup

1.0 (Oct. 8, 2012)

  • Enqueue any bundled JavaScript libraries on the frontend for use. Register your own with the ‘cje_available_scripts’ filter. Thanks flentini for the original pull request

0.9.1

  • Bug fix: Use html_entity_decode() for decoding stored JavaScript so it properly renders

0.9

  • Initial release