Plugin info

Total downloads: 4,932
Active installs: 40
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 12/14/2016 (3304 days ago)
Added to WordPress: 12/12/2016 (9 years old)
Minimum WordPress version: 4.7
Tested up to WordPress version: 4.7.31
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3304 days ago • 1 reviews

22/100

Is Dynamic Asset Versioning abandoned?

Possibly abandoned (last update 3304 days ago).

Compatibility

Requires WordPress: 4.7
Tested up to: 4.7.31
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Inline version numbering for WordPress
Rating 0.0/5 (0 reviews)Active installs 0
Gitium
Rating 4.4/5 (9 reviews)Active installs 400
CSS Versioning
Rating 5.0/5 (1 reviews)Active installs 80
Features
Rating 5.0/5 (1 reviews)Active installs 50
Revisions
Rating 0.0/5 (0 reviews)Active installs 30
Web Archive
Rating 0.0/5 (0 reviews)Active installs 10

Description

WordPress asset versioning can be a double-edged sword: on one-hand, it’s extremely effective for cache-busting, ensuring you aren’t sharing stale scripts or styles to your visitors. On the other hand, having to manually increment a version number is a pain (even as a constant), often resulting in a version control history full of “bumping the version number” commits.

Dynamic Asset Versioning aims to simplify this process: if an enqueued asset doesn’t have an explicit version number, the plugin will get the timestamp of the last time the file was changed and use that as the version number. It’s easy: you touch the file, the version number is updated automatically.

Usage

Once Dynamic Asset Versioning is active, it will automatically determine version numbers based on file modification time for any [non-core] files that have been enqueued using wp_enqueue_style() or wp_enqueue_script().

Example

wp_enqueue_style(
    'my-theme-styles',
    get_template_directory_uri() . '/assets/css/my-styles.css',
    array( 'some-other-styles' ),
    false, // Don't worry about it, Dynamic Asset Versioning has you covered!
    'screen'
);

Special thanks

A special thanks goes out to 10up, who helped inspire the original concept of this plugin.

Installation

There are two ways to install Dynamic Asset Versioning in your WordPress site: as a must-use (MU) or a standard plugin.

As a must-use (MU) plugin (recommended)

  1. Download or clone the repository into wp-content/mu-plugins.
  2. As MU plugins cannot run in a sub-directory, move dynamic-asset-versioning.php directly into the wp-content/mu-plugins directory.

As a standard WordPress plugin

  1. Download or clone the repository into wp-content/plugins.
  2. Activate the plugin through the WordPress plugins screen.

Frequently Asked Questions

No FAQ available

Review feed

Deepak Khokhar
9/26/2017

Amazing

Exactly what I was looking for. Great stuff. Thanks guys

Screenshots

No screenshots available

Changelog

0.1.0

Initial public release.