Advertisement
Guest User

Untitled

a guest
Dec 6th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.12 KB | None | 0 0
  1. <?php
  2. if (is_category('category1'))
  3. {echo 'category1class';}
  4. if (is_category('category2'))
  5. {echo 'category2class';}
  6. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement