Advertisement
Guest User

Untitled

a guest
Dec 6th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.             <div class="<?php
  2.         if (is_category('category1')) {
  3.             echo "category1class";
  4.         if (is_category('category2')) {
  5.             echo "category2class";
  6.         } else {
  7.             echo "generalcategoryclass";
  8.         }
  9.         ?>
  10.     ">
  11.             <?php the_content('Read More...'); ?>
  12.             </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement