You don’t explicitly need to separate them out but you would need to make sure that all template files have the proper header and footer code in them. That would mean essentially duplicating work for at least index.php, single.php, page.php, and search.php (not to mention any custom template files). Personally, I think it’s much easier to separate them out and then call get_header() and get_footer().
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Do i need a header.php / footer.php’ is closed to new replies.