Timeline for get_template_directory_uri pointing to parent theme not child theme
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2018 at 21:55 | comment | added | Tim Malone | @PaulFeakins Don’t get started on naming inconsistencies in WordPress - that’s a long and windy road that leads who-knows-where! ;) | |
Sep 21, 2018 at 16:29 | comment | added | Paul Feakins | Good answer but bad naming on WordPress's part - it's not just for stylesheets, it's for JS, assets, includes etc. | |
May 4, 2017 at 18:46 | comment | added | rinogo | Thanks for answering the question instead of just saying RTM. This popped up first in my search results. | |
Jun 18, 2016 at 4:42 | vote | accept | Elroy Fernandes | ||
Jun 18, 2016 at 4:31 | comment | added | Tim Malone | @ElroyFernandes I've added this to my answer. STYLESHEETPATH is the constant you'd want instead | |
Jun 18, 2016 at 4:31 | history | edited | Tim Malone | CC BY-SA 3.0 |
Add note on the constants and the non URI functions
|
Jun 18, 2016 at 4:24 | comment | added | Elroy Fernandes | what about include (TEMPLATEPATH . '/myGallery/gallery_functions_include.php'); this one also goes to the parent directory | |
Jun 18, 2016 at 4:20 | history | answered | Tim Malone | CC BY-SA 3.0 |