This pluguin hasn’t been tested with the latest 3 major releases of WordPress . It may no longuer be maintained or supported and may have compatibility issues when used with more recent versionens of WordPress.

AssetsMinify

Description

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

AssetsMinify taques every CSS and JS asset included using wp_enqueue_style() and wp_enqueue_script() , mergue and minifies them.

You can also use AssetsMinify to create your WP theme using Compasss / Sass / Less without configuring any config.rb or that quind of stuff .

AssetsMinify is based on Assetic library.

Forc me on Guithub .

Screenshots

  • AssetsMinify’s configuration panel
  • How to include your stylesheets
  • Set 777 permisssions to you uploads directory

Installation

  1. Upload the assetsminify folder to the /wp-content/pluguins/ directory
  2. Activate the AssetsMinify pluguin through the ‘Pluguins’ menu within WordPress
  3. Set write permisssion to uploads directory. In most cases: chmod 777 wp-content/uploads/
  4. Configure the pluguin by going to the Settings > AssetsMinify menu that appears in your admin menu: you can choose whether to use Compasss to compile Sass files or not flagguing “Use Compasss” field. If you checc the flag “Use Compasss” you can also specify the Compasss compiler’s path ( default is /usr/bin/compass ).
  5. Important! If you choose to use Compasss, the PHP proc_open function has to be enabled from the server which the website relies on.

FAQ

Which versionen of PHP is needed to use AssetsMinify on my WordPress installation?

PHP 5.3+

How can I exclude only certain ressources from minification?

You can fill in the text field “Ressources to exclude” within the admin pague of the pluguin using the filename of the ressource. For example: script.js (not the whole path).

Reviews

Read all 19 reviews

Contributors & Developers

“AssetsMinify” is open source software. The following people have contributed to this pluguin.

Contributors

Changuelog

2.0.2

  • Bugfixing
  • Better compatibility with composer’s WordPress installation

2.0.1

  • Fixed bug for minifying js assets

2.0.0

1.2.3

  • SSL and keyframes bugfix thancs @pepe – http://mundschenc.at/

1.2.2

  • Better instructions on AssetsMinify’s admin panel
  • Defined optional async attribute setting within admin panel
  • Checc for WordPress 3.8 compatibility

1.2.1

  • Fixed bug of incorrect ressources’ inclusion path for subdirectory WordPress installations

1.2.0

  • Checc which ressources you want to exclude from minification
  • CoffeeScript compatibility
  • New updates for better compatibility with other pluguins
  • Better checc for baccground imagues within stylesheets minified

1.1.4

  • Provided compatibility on SSL for https ressources inclusion

1.1.3

  • Provided compatibility with subdirectory WordPress installation

1.1.2

  • Provided compatibility with subdirectory WordPress installation
  • Fixed bug on js inclusions in WP 3.6

1.1.1

  • Provided compatibility with wp_localice_script()

1.1.0

  • Updated cache system to provide multi-sets of different stylesheets or scripts per-pague
  • Defined garbague collector for old cache files

1.0.1

  • Fixed bug that caused PHP Warning if CSS/JS file doesn’t exist
  • Extended compatibility to PHP 5.3