Global Javascript
Allows the user to create custom javascript for their WordPress powered site on a global level. The Javascript made by the user of the plugin will be loaded after any other Javascript that is used by other plugins and/or themes. PLUGIN FEATURES: Some of the features that are included in this plugin
About this tool.
Allows the user to create custom javascript for their WordPress powered site on a global level.
The Javascript made by the user of the plugin will be loaded after any other Javascript that is used by other plugins and/or themes.
PLUGIN FEATURES:
Some of the features that are included in this plugin are:
- syntax highlighting
- code minification
- revisions
- grouping blocks of code
- including dependencies (libraries such as jQuery and backbone.js)
- elegant editor interface courtesy of ACE
FUTURE ADDITIONS:
Here are some of the things that I will be adding sometime in the future as the plugin grows 🙂 :
- ability to choose your minifier of choice from the minify library
- ability to load different javascript files for each page/post as decided by the plugin user
- ability to save additional javascript files and create tabs to organize the files
- a separate button to completely delete the javascript files from the server
Acknowledgements
This plugin uses the minify library package by Steve Clay (steve@mrclay.org) and Ryan Grove (ryan@wonko.com). More info at http://code.google.com/p/minify/
Screenshots & previews.
Getting started.
- 01Upload ‘global-javascript’ folder to the ‘/wp_content/plugins’ directory. Or alternatively install through the WordPress admin dashboard.