I am trying to add version to style.css file but its not adding version to style.css infact not adding version to any of css files. here's my code
wp_enqueue_style( 'twentyfifteen-style', get_template_directory_uri() . '/css/style.css', array(),'1.0','all');
Does any body knows what is the issue?
Thanks
Since you mentioned that none if your stylesheets are getting versions I would suspect a plugin or the theme is filtering those URLs.
Try searching your theme and all plugins for any usage of the style_loader_src
filter. You may find the problem there.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.