Posted By

zealmurapa on 04/22/11


Tagged

page is single if else home


Versions (?)

if is home if is page if is single else if


 / Published in: PHP
 

if is home if is page if is single else if

  1. <?php if (is_home()) { ?>
  2. <?php } elseif (is_single()) { ?>
  3.  
  4.  
  5. <?php } ?>

Report this snippet  

You need to login to post a comment.