Cachebusting the Child Theme stylesheet..
-
Hi. I’ve been looking into cachebusting a child themes stylesheet with versioning.
The option in Section #3 of the below link works and allows me to control the versioning of the child theme’s stylesheet.
https://developer.wordpress.org/themes/advanced-topics/child-themes/
However, before where I was using the option without cachebusting it conveniently loaded the child’s stylesheet at the end of all the other stylesheets of the themes and plugins. With the cachebusting option, it works with versioning, but with the dependency option it loads it right at the top.
Any ideas of how I might control this better? Without listing a dependency ID it will actually output two child theme stylesheets. I’ve also tried to add a priority to the add_action(), but that creates more weirdness.
Thanks.
The topic ‘Cachebusting the Child Theme stylesheet..’ is closed to new replies.