/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if ( is_front_page() ) { include (TEMPLATEPATH . '/home1.php'); } else { include (TEMPLATEPATH . '/rest.php'); } ?> is_home(), is_category(), is_archive(), is_search(), is_single(), is_date(), is_404(), etc...