Customising template-tags.php in a child theme
-
I would like to customise the template-tags.php file. I have made the necessary changes, which work as required, but when I export the file into a child theme (and restore template-tags.php in the Kumle parent), the changes don’t come into effect.
As well as pacing /includes/template-tags.php in my Child theme, I have also created /includes/main, which contains “require_once trailingslashit( get_template_directory() ) . ‘/includes/template-tags.php’;”.
What else is required in order to get my amended template-tags to operate?
Many thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Customising template-tags.php in a child theme’ is closed to new replies.