[wp-trac] [WordPress Trac] #18302: Improve child theme file inheritance by introducing a function to locate a file URI
WordPress Trac
noreply at wordpress.org
Fri Sep 9 19:50:02 UTC 2016
#18302: Improve child theme file inheritance by introducing a function to locate a
file URI
---------------------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: high | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit has-unit-tests | Focuses: template
---------------------------------------------+--------------------------
Comment (by ChiefAlchemist):
fwiw (read: I'm seeing this too late), this wasn't really a function
issue. It was a structure and theme'ing mindset issue. It's possible using
get_template_part() along with being mindful of structure and the fact
that someone else might use the parent to build a child. On the other
hand, if anyone can do anything anyway they way...well, that's going to be
a painful way to approach something that by definition is structured. I
know. I know. #Duh :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18302#comment:100>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list