Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php foreach (get_the_category() as $cat) : ?>
- <?php $cat_image = z_taxonomy_image_url($cat->term_id);
- if (!empty($cat_image)): ?>
- <img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" />
- <?php endif; ?>
- <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement