WP-AMD – Global JS and CSS handling


The plugin allows to add/update custom global javascript and CSS on your site in real time using version control.

Visit project on GitHub: https://github.com/UsabilityDynamics/wp-amd


  • Adds backend JavaScript editor with version control.
  • Adds frontend CSS editor with version control.
  • Adds ability to modify CSS in preview mode in real time.
  • Dependencies can be included ( jquery, backbone, etc ).
  • Plugin can be loaded as a WordPress plugin or as a Composer module (dependency).
  • Theme’s dependency.


  • English (UK)


  1. Download and activate the plugin through the ‘Plugins’ menu in WordPress.
  2. Visit Appearance -> Script Editor page to add/update global javascript.
  3. Visit Appearance -> Style Editor page to add/update global CSS.
  4. Or visit Appearance -> Customize -> Custom Styles to update CSS in preview mode.


Read all 2 reviews

Contributors & Developers

“WP-AMD – Global JS and CSS handling” is open source software. The following people have contributed to this plugin.




  • Fixed the bug related to removing all rewrite rules ( breaking permalinks ).


  • Updated vendor libraries. Old versions occurred conflicts when other UD plugins were activated.
  • Fixed Content-Type response headers.
  • Fixed typos.
  • Fixed PHP Warnings and Notices.
  • Fixed dependency saving/updating, which did not work when forms were saved via AJAX.
  • Fixed incorrect plugin_url usage.
  • Fixed WPML translation issue with js and css not being properly included.
  • Other improvements and fixes.


  • Added disk caching, with location configurable via “wp-amd:script:disk_cache” filter.
  • Added Metaboxes, Screen Options and Screen Help. (WIP)
  • Added filters that allow override of default asset locations. e.g. /assets/scripts/app.js instead of /assets/wp-amd.js
  • Added Twitter Bootstrap CSS and JS as available dependencies.
  • Added Font Awesome as an available CSS dependency.
  • Added Normalize as an available CSS dependency.
  • Added support for dependency-dependencies.
  • Fixed bug with Style and Script post types not properly registering their titles.
  • Forces third-party JavaScript libraries to be loaded in footer by default.
  • Added Knockout.js and UDX Requires
  • Several minor documentation fixes.


  • Fixed Custom Styles Editor resizable issue on Customize page.
  • Fixed plugin’s styles/scripts order loading on front end.
  • Removed extra console log data.


  • Fixed rewrite rules for assets links.
  • Fixed warnings and notices.


  • Added theme’s dependency.
  • Fixed and updated Dependencies metabox.
  • Fixed script/style dependencies registration.