WordPress.org

Ready to get started?Download WordPress

Plugin Directory

AssetsMinify

Use Compass, SASS, LESS and CoffeeScript (NEW) to develop your themes and minify your stylesheets and JavaScript simply by installing AssetsMinify.

How many times have you wished to minify in a clean way all the stylesheets and scripts of a WordPress website?

AssetsMinify takes every CSS and JS asset included using wp_enqueue_style() and wp_enqueue_script() and Merges+Minifies them.

You can also use AssetsMinify to create your WP theme using Compass / SASS / LESS without configuring any config.rb or that kind of stuff.

AssetsMinify is based on Assetic library.

This plugin has been tested up to WordPress 3.6 beta.

Fork me on Github.

CoffeeScript (NEW FEATURE)

Now you can also include your CoffeeScript directly using wp_enqueue_script:

wp_enqueue_script( 'my-cs', get_template_directory_uri() . '/coffee/header.coffee', array(), '1.0' );

Define inclusion-sets per-page

Although it is not a best practice you can define resources inclusions basing on the WordPress page just like this if ( is_page( 2 ) ) { wp_enqueue_style( 'stylesheet-name' ); }.

Requires: 3.3 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-5
Downloads: 6,898

Ratings

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