Optimizer removes style.css version
-
I have a bit of code that adds a version number to the style sheet so that the user gets the most recent version.
wp_enqueue_style( 'wsdg-responsive-style', get_stylesheet_directory_uri() . '/style.css', array(), filemtime( get_stylesheet_directory() . '/style.css' ) );With that working the link to the stylesheet is:
https://www.nevadacitychamber.com/wp-content/themes/wsdg_responsive/style.css?ver=1627584286When the Optimizer plugin is activated, it changes to:
https://www.nevadacitychamber.com/wp-content/themes/wsdg_responsive/style.cssAny way to disable that?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Optimizer removes style.css version’ is closed to new replies.