Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="product_list">
- <?php foreach (get_the_terms(get_the_ID(), 'productcategory') as $cat) : ?>
- <li class="product-post">
- <img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" />
- <a href="<?php echo get_term_link($cat->term_id, 'productcategory'); ?>"><?php echo $cat->name; ?></a>
- </li>
- <?php endforeach; ?>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement