SHARE
TWEET

Untitled

a guest Dec 6th, 2012 46 Never
  1. <?php
  2. if (is_category('category1'))
  3. {echo 'category1class';}
  4. if (is_category('category2'))
  5. {echo 'category2class';}
  6. ?>
RAW Paste Data
Top