该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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