WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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.13
Last Updated: 2 years ago
Active Installs: 700+

Ratings

2.5 out of 5 stars

Support

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
0,1,0
0,1,0