This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom JavaScript Editor

Description

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!

Screenshots

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

Installation

  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

Contributors & Developers

“Custom JavaScript Editor” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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