Posted By


crs on 07/24/09

Tagged


Statistics


Viewed 554 times
Favorited by 0 user(s)

Wordpress, Basic conditional form


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. if ( in_category('11') ) {
  3. include (TEMPLATEPATH . '/navigation.php'); }
  4. else {
  5. echo "Something else"; }
  6. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.