CSS version include in the stylesheet name
-
I’m trying to add a version to the css name so it forces loading a fresh version.
I’m using underscores and in its functions.php, I’ve changed:
wp_enqueue_style( 'mytheme-style', get_stylesheet_uri() );
Towp_enqueue_style( 'mytheme-style', get_stylesheet_uri(), array(), '0.0.3' );
Yet, the stylesheet’s name (when inspecting it through a browser is:
style.css?ver=5.4
5.4 is the current WordPress version. How can I override the versioning on that file?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CSS version include in the stylesheet name’ is closed to new replies.