Including new content in index.php
-
Twentyseventeen-child theme.
I have template-parts/post/content.php that works okay
For testing purposes I replaced the original content.php path to the child folder in index.php
//get_template_part( 'template-parts/post/content', get_post_format() ); get_template_part( '../twentyseventeen-child/template-parts/post/content', get_post_format() );
All works fine but I have to keep the original index.php and “Include the Post-Format-specific template for the content….” but I don’t know how/where to do that.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Including new content in index.php’ is closed to new replies.