Custom JavaScript Editor

April 14, 2016

Custom JavaScript Editor Plugin

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

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!

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

Screenshots

  1. The back end editor

    The back end editor

  2. The front end editor

    The front end editor

  3. The front end editor

    The front end editor

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

Details

  • Version: 1.1
  • Active installations: 700
  • WordPress Version: 3.4
  • Tested up to: 4.5.32

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars