WordPress.org

Ready to get started?Download WordPress

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.

WP JS

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

How should I code the URL inside the wp_js() function

All the URLs must be relative to the current theme.

For example if your theme is default and you have javascript file called file.js inside this theme.

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

If you had a file inside another folder within the current theme folder. For example, theme/default/javascript

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

Can I suggest an feature for the plugin?

Of course, visit WP JS Home Page

Are you available for hire?

Yes I am, visit my services page to find out more.

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

Ratings

4 stars
4.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
0,1,0