Plugin Directory

WP JS

Allows developers to compress (GZIP & JSMIN) JavaScript files as well as concatenate them into one single file.

Download Version 2.0.6

  1. Upload wp-js folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Set the permissions for /wp-js/ folder to 777
  4. Go to Settings > WP JS in the admin site. This setup the plugin.
  5. Use <?php wp_js('path/to/js/file.js'); ?> to link to your JavaScript file.

i.e. <script src="<?php wp_js('path/to/js/file.js'); ?>" type="text/javascript"></script>

Requires: 2.5.1 or higher
Compatible up to: 2.6.2
Last Updated: 2009-3-7 Downloads: 10,428

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(15 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
0,1,0