Skip to main content
10 events
when toggle format what by license comment
Oct 4, 2018 at 23:30 comment added IvanRF @pieter-goosen I followed the example at Child Themes which uses the version number of the child theme: wp_get_theme()->get('Version'). However I end up having duplicated CSS for the WP version and the child theme version: <link rel="stylesheet" id="bushwick-style-css" href="/wp-content/themes/bushwick-child/style.css?ver=4.9.8"...> and <link rel="stylesheet" id="bushwick-child-css" href="/wp-content/themes/bushwick-child/style.css?ver=1.3.6"...>. What would be the solution in these cases?
Sep 28, 2018 at 17:08 comment added Garconis The main issue with this method, that I can tell, is that the child style doesn't pull in the version number of the child theme. It seems to pull in the version number of the parent theme, which isn't always ideal.
Apr 13, 2017 at 12:37 history edited CommunityBot
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Oct 27, 2015 at 6:39 comment added php-b-grader The stylesheet wont get loaded twice if you use the same 'id'. But this creates another issue - I want to enequeue the child stylesheet so it loads after the other css so I can override it... But this only duplicates the style (or ignores if using the same 'id')
Nov 24, 2014 at 18:24 history edited Pieter Goosen CC BY-SA 3.0
added 408 characters in body
Nov 10, 2014 at 18:29 vote accept mmcglynn
Nov 9, 2014 at 15:22 comment added dMcClintock As it's on topic, I encountered a couple issues using this method, detailed here.
Nov 6, 2014 at 16:50 history edited Pieter Goosen CC BY-SA 3.0
added 162 characters in body
Nov 6, 2014 at 16:50 comment added mmcglynn Will test. It seems possible that WP doesn't care of the stylesheet gets loaded twice or that there is some rationale that we are missing.
Nov 6, 2014 at 16:35 history answered Pieter Goosen CC BY-SA 3.0