home.php, which is in the same folder where
style.css is kept I am try to call a template:
<?php get_template_part( 'template-parts/content', 'home-default' ); ?>
- template-parts is a folder which is in the root folder same where we have style.css, like
- theme-directory -- template-parts --- content-home-default.php -- style.css -- home.php
- Template is:
content-home-default.phpin template-parts, which is in the root folder
But this is not able to fetch this template. I am a beginner so perhaps doing some nonsensical mistake. Can someone please guide me.