Guest User

Untitled

a guest
Oct 23rd, 2015
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php
  2. if (is_category(63)) {
  3. echo '<div class="category-image"> <img src="image for category 1" /> </div>';
  4. }
  5. elseif (is_category(64)) {
  6. echo '<div class="category-image"> <img src="image for category 2" /> </div>';
  7. }elseif (is_category(65)) {
  8. echo '<div class="category-image"> <img src="image for category 3" /> </div>';
  9. }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment