I've created a common-header.php and common-footer.php file for including in each of my template pages (so that I don't have to change them all when I want to edit the basic theme structure, and the templates are much easier to edit, etc).
Is there any problem with including files like this:
--------------
<?php
require_once('common-header.php');
// action hook for placing content above the index loop
thematic_above_indexloop();
// action hook creating the index loop
thematic_indexloop();
// action hook for placing content below the index loop
thematic_below_indexloop();
require_once('common-footer.php');
?>
--------------
Or is there a better way to do this? I ask because, it's such a great way to simplify the code (if it's valid) that I'm surprised it's not done already by default.
Thanks!