Timeline for Loading a child-theme's style.css after the parent's
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 25, 2016 at 9:00 | history | edited | bravokeyl | CC BY-SA 3.0 |
added 34 characters in body
|
May 25, 2016 at 9:00 | comment | added | shmuli | I found that it was being loaded in the parent's functions.php by ` wp_enqueue_style('thm-style',get_stylesheet_uri());`. | |
May 25, 2016 at 8:58 | comment | added | bravokeyl |
@AndyMacaulay-Brook, yes , got it, had a little bit of doubt on this before just checked functions.wp-styles.php and class-wp-dependencies class.
|
|
May 25, 2016 at 8:55 | comment | added | Andy Macaulay-Brook | I think the priorities on this hook get overridden by the arrays of dependencies. Safer to list the dependencies to get the ordering that you want. | |
May 25, 2016 at 8:53 | vote | accept | shmuli | ||
May 25, 2016 at 8:53 | comment | added | shmuli | That was very helpful! That should do it. :) Thanks! | |
May 25, 2016 at 8:45 | history | edited | bravokeyl | CC BY-SA 3.0 |
added 251 characters in body
|
May 25, 2016 at 8:44 | comment | added | Andy Macaulay-Brook | Cool. I hadn't noticed the handle was used as an ID. Handy. | |
May 25, 2016 at 8:42 | history | answered | bravokeyl | CC BY-SA 3.0 |