Advertisement
Guest User

Untitled

a guest
Aug 7th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1.             <?php foreach (get_the_terms(get_the_ID(), 'post_tag') as $cat) : ?>
  2.             <a href="<?php echo get_term_link($cat->term_id, 'post_tag'); ?>"><img class="tag-img" src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /></a>
  3.             <? endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement