/ Published in: PHP
This was used to accomplish a deferent background on a secondary page within the website.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (is_page(Home)) { include(TEMPLATEPATH.'/header.php'); } elseif (is_page(Menu)) { include(TEMPLATEPATH.'/header-second.php'); } else { include(TEMPLATEPATH.'/header-second.php'); } ?>