Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (is_category(63)) {
- echo '<div class="category-image"> <img src="image for category 1" /> </div>';
- }
- elseif (is_category(64)) {
- echo '<div class="category-image"> <img src="image for category 2" /> </div>';
- }elseif (is_category(65)) {
- echo '<div class="category-image"> <img src="image for category 3" /> </div>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment