I think it is better to separate into 3 separate files
header.php
footer.php
page.php
Because separating parts of a page will reduce code writing, as well as errors that can occur. If you use a framework, you can learn MVC. However, you can also write it directly into the page.php file by using the <header></header> tag for the header and the <footer></footer> tag for the footer.
@lucaslitextension – thanks for responding. So, it is basically possible, because my concern was, that wp would probably reject empty header- and footer.php.
My goal is a lay-out, that is basically structered by two vertical block-elements, that go from top to bottom. Each 50% wide. I guess this is only possible with the page.php/single.php and if header- and footer.php are empty.
regards – theo
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Header and footer as dummies’ is closed to new replies.