daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Jul 16th, 2014 225 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ul class="product_list">
  2.         <?php foreach (get_the_terms(get_the_ID(), 'productcategory') as $cat) : ?>
  3.         <li class="product-post">
  4.                 <img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" />
  5.                 <a href="<?php echo get_term_link($cat->term_id, 'productcategory'); ?>"><?php echo $cat->name; ?></a>
  6.         </li>
  7.         <?php endforeach; ?>
  8. </ul>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top