Include template parts with PHP
I see that many themes use:
When I create a now part (fx banner.php) the following does not work:
Instead I have to use:
My question is: why is get_header used and not just consistently get_template_part(‘header’)? What is the purpose of this GET function?
- The topic ‘Include template parts with PHP’ is closed to new replies.