Tagged: x
-
AuthorPosts
-
August 20, 2016 at 1:30 pm #1139635
neodjandreParticipantHi,
I can see a ?ver=4.6.0 is appended on my CSS stylesheets. Is the theme adding this?
How can I increment this number manually?
thnx
August 21, 2016 at 1:47 am #1140083
RadModeratorHi there,
Thanks for posting in.
It’s theme version, and it’s normal for Theme and WordPress to include versions. Why would you like to increment it? You’ll be editing the core files if you do that and it’s not recommended.
Thanks!
August 21, 2016 at 4:49 am #1140165
neodjandreParticipantHi,
I am using MaxCDN and the files are not purging correctly. If I increase the version manually when i make changes to my child theme style.css, then the file will be fetched correctly.
Can I only change that in the child theme?
tx
August 21, 2016 at 7:53 am #1140300
ChristianModeratorHey there,
Removing or incrementing the version from the URL or query string could not be done in the CSS as that is part of WordPress style and script enqueueing function which is used by themes and plugins. You will need a plugin to achieve that such as https://wordpress.org/plugins/remove-query-strings-from-static-resources/ or a custom developed function. Please take note though that since this involves website optimization and third party plugins, any issue arising from this falls outside the scope of our support. In such case, you might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1139635 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
