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.

Simple Minify

Description

(based on Assets Minify by Alessandro Carbone)

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

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

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

If you have conflict with some ressources, you can excluded them in the back-office.

Simple Minify is based on Assetic library.

Installation

  1. Upload the simple-minify folder to the /wp-content/plugins/ directory
  2. Activate the Simple Minify plugin through the ‘Plugins’ menu in WordPress
  3. Set write permission to uploads directory. In most cases: chmod 777 wp-content/uploads/
  4. Configure the plugin by going to the Settings > Simple Minify menu that appears in your admin menu: you can choose whether to use Compass to compile SASS files or not flagging “Use Compass” field. If you check the flag “Use Compass” you can also specify the Compass compiler’s path ( default is /usr/bin/compass ).
    In this page, you can also include/exclude external or local ressources, remove cache, disabled compress for css or js.
  5. Important! If you choose to use Compass, the PHP proc_open function has to be enabled from the server on which the website relies.

FAQ

Which version of PHP is needed to use Simple Minify on my WordPress installation?

PHP 5.3+

How can I excluded some ressources?

In settings->SimpleMinify, you can exclude all ressources you want.
In “Resources to exclude” field, fill in the filename of the resources you don’t want to be managed from AssetsMinify, separated by comma. (eg. custom-carousel.js, slideshow.css)

How can I include some external ressources?

In settings->SimpleMinify, you can include all external ressources you want.
In “Domains of styles to include” or “Domains of scripts to include” field, fill in the domains of the styles you want to be managed from AssetsMinify, separated by comma. (eg. fonts.googleapis.com, minify.fr).

How can I disabled compress ressources?

In settings->SimpleMinify, you can disabled compress ressources.
Uncheck “Compress scripts” or “Compress styles” box.

How can I disabled compress external ressources?

In settings->SimpleMinify, you can disabled external compress ressources.
Uncheck “Compress external scripts” or “Compress external styles” box.

How can I remove cache ressources?

In settings->SimpleMinify, you can remove cache ressources.
Click on “Empty AssetsMinify’s Cache” link.

Reviews

Read all 8 reviews

Contributors & Developers

“Simple Minify” is open source software. The following people have contributed to this plugin.

Contributors