Overriding /inc functions in a child theme
-
This may be a stupid question,
but I was expecting to be able to override parent theme functions by placing the new function in, e.g./child-theme/inc/template-tags.php
however, this did not seem to do the work, so I placed the custom functions in
/child-theme/functions.php
I found no clear tip on this, for instance template-tags.php says (ln 415-416)
” * To override this walker in a child theme without modifying the comments template
* simply create your own tinyframework_comment(), and that function will be used instead.”I would specify WHERE you should create the override functions in.
Thanks,
L
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Overriding /inc functions in a child theme’ is closed to new replies.