=== AutoVer === Contributors: PressLabs Donate link: http://www.presslabs.com/ Tags: auto, automatic, pages, head, css, wp-enqueue, filter, javascript, script, style, ver, version, versioning, autover, presslabs Requires at least: 3.4 Tested up to: 3.5.1 Stable tag: 1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html AutoVer plugin will automatically version your CSS and JS files in the generated html page (e.g. style.css?ver=1359464809). == Description == AutoVer plugin will automatically version your CSS and JS files. This is especially useful when using a Content Distribution Network (CDN) for delivering static files like CSS and JavaScripts. The plugin appends to the resource URL a numeric version number generated by the filemtime() PHP function (e.g. style.css?ver=1359464809). This means the version number will be updated every time the CSS or JS file is being saved. IMPORTANT: this plugin only works with CSS and JS files that are enqueued using the standard WordPress functions [wp_enqueue_style](http://codex.wordpress.org/Function_Reference/wp_enqueue_style "wp_enqueue_style") and [wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script "wp_enqueue_script"). == Installation == = Installation = 1. Upload `autover.zip` to the `/wp-content/plugins/` directory; 2. Extract the `autover.zip` archive into the `/wp-content/plugins/` directory; 3. Activate the plugin through the 'Plugins' menu in WordPress. Alternatively go into your WordPress dashboard and click on Plugins -> Add Plugin and search for AutoVer. Then click on Install, then on Activate Now. = Usage = Install and activate the plugin according with the Installation instructions. The plugin will automatically start to version your CSS and JS files that are correctly enqueued into WordPress (by using [wp_enqueue_style](http://codex.wordpress.org/Function_Reference/wp_enqueue_style "wp_enqueue_style") and [wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script "wp_enqueue_script") functions). Depending on the caching mechanism used, a purge of page (html) cache might be needed. If you want to version only CSS or only JS files, please check the plugin settings by going to 'Tools->AutoVer' from your WordPress dashboard. == Frequently Asked Questions == = Why should I use this plugin? = If you want to automatically version your CSS and JavaScript files, this will help to load your CSS and JS file into the cache memory only when you change the code from the files. == Screenshots == 1. Before activation 2. After activation == Changelog == = 1.2 = * enhancement: settings tab is now separated for easier understanding. * enhancement: updated readme.txt file with more details and added print screens. * bug fix: fixed an error at the 'filemtime()' function. = 1.1 = * bug fix: fixed some settings error. = 1.0 = * first version on WP. == Upgrade Notice == = 1.2 = Settings tab is now separated for easier understanding and bug fixes. = 1.1 = Bug fix: fixed some settings error. = 1.0 = First version on WP.