Advertisement
whyisjake

Untitled

Jul 27th, 2011
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. <?php
  2.    
  3.     $terms = the_terms( get_the_ID(), 'maker');
  4.     $count = count($terms);
  5.         if($count > 0)
  6.         { ?>
  7.        
  8.             <hr>
  9.  
  10.             <h4>Makers in this post:</h4>
  11.        
  12.             <?php the_terms( get_the_ID(), 'maker'); ?>
  13.        
  14. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement