Understanding templates in wordpress
-
Hi,
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!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Understanding templates in wordpress’ is closed to new replies.