Posted By

scitrenbaumgmailcom on 07/12/10


Tagged


Versions (?)

Conditional Tags Include


 / Published in: PHP
 

  1. <?php
  2. if ( is_front_page() ) { include (TEMPLATEPATH . '/home1.php'); }
  3. else { include (TEMPLATEPATH . '/rest.php'); }
  4. ?>
  5.  
  6. is_home(), is_category(), is_archive(), is_search(), is_single(), is_date(), is_404(), etc...

Report this snippet  

You need to login to post a comment.