Understanding templates in wordpress
This is probably something simple but I want to hear the experts and understand this well. Why is that if I create a new template for a custom theme in wordPress I need to make a comment and name it so WordPress can recognized as a template, but I don’t see this comment anywhere in the page.php, home.php, index.php, single.php etc.
Is this because these are the default templates and wordpress already know those files?
Thanks a lot!
- The topic ‘Understanding templates in wordpress’ is closed to new replies.