WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Combine JS

WordPress plugin that combines, minifies, and compresses JS files.

WordPress plugin that combines, minifies, and compresses JS files. The JS files that this plugin combines and minifies must be enqueued by using wp_enqueue_script. The plugin combines and minifies JS and writes the output into files in the uploads directory. This plugin uses jsmin.php - PHP implementation of Douglas Crockford's JSMin. This plugin combines all local JS files into a single file and includes the file in the footer of the theme (requires wp_footer being used in your theme files). Also see the companion plugin, Combine CSS.

Features include:

  • option to change the JS domain if a CDN is used
  • option to change how often JS files get refreshed
  • option to exclude certain JS files from combining
  • option to turn on/off GZIP compression
  • option to move all enqueued JS files to the footer of the site
  • option to turn on debugging

Requires: 3.0.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-17
Downloads: 8,165

Ratings

3 stars
3.8 out of 5 stars

Support

5 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1