Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="<?php
- if (is_category('category1')) {
- echo "category1class";
- if (is_category('category2')) {
- echo "category2class";
- } else {
- echo "generalcategoryclass";
- }
- ?>
- ">
- <?php the_content('Read More...'); ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement