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

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: 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