Posted By

crs on 07/24/09


Tagged

wordpress conditional


Versions (?)

Wordpress, Basic conditional form


 / Published in: PHP
 

  1. <?php
  2. if ( in_category('11') ) {
  3. include (TEMPLATEPATH . '/navigation.php'); }
  4. else {
  5. echo "Something else"; }
  6. ?>

Report this snippet  

You need to login to post a comment.