wordpress - Child themed template-tags.php -
the theme use has inc/template-tags.php
file
need override child template-tags.php
adding file child theme folder both inc/ folder based , root child theme folder not seem override parent file.
adding include( get_stylesheet_directory() . '/inc/template-tags.php' );
child functions.php
result in wordpress white screen of death.
anyone know how this?
answer in using following inside child functions.php
if( ! function_exists(twentyfourteen_post_nav) ) { function twentyfourteen_post_nav() { dump edited code here }}
Comments
Post a Comment