Request for conditional inclusion of key methods
-
I’m building a website with a child theme inherited from Quark, and trying to avoid editing the original Quark files so I can update them without fear of breaking the site.
To this end I’ve been wrapping functions within functions.php to allow overloading in the child theme. For example:
if (!function_exists(‘quark_fonts_url’)){
function quark_fonts_url() {
…
}
}Of course, I have to reapply these wrappers when there’s a Quark upgrade (as there was this morning NZT), but it’s still easier than having to reinstate detailed code changes.
In a future upgrade, would you consider adding these wrappers yourself?
Thanks for a great theme.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Request for conditional inclusion of key methods’ is closed to new replies.