1. if ($portfolio_cats == true) : // DISPLAY CATEGORY META ?>
  2.  
  3. <li class="skills"><?php _e( '<span style="text-transform:capitalize;">Design Area:</span>', 'bean' );
  4.  
  5. $terms = get_the_terms($post->ID, 'portfolio_category');
  6. $count = count($terms); $i=0;
  7. if ($count > 0) {
  8. foreach ($terms as $term) {
  9. $i++;
  10. $term_list .= $term->name;
  11. if ($count != $i) $term_list .= '  /  ';
  12. }
  13. echo $term_list;
  14. }
  15.  
  16. ?></li>
  17.  
  18.  
  19.  
  20.  
  21. <?php endif;
  22.  
  23. if ($portfolio_cats == true) : // DISPLAY TAGS META ?>
  24.  
  25. <li class="skills"><?php _e( '<span style="text-transform:capitalize;">Tags:</span>', 'bean' );
  26.  
  27. $terms = get_the_terms($post->ID, 'portfolio_tag');
  28.  
  29. $count = count($terms); $i=0;
  30. if ($count > 0) {
  31. foreach ($terms as $term) {
  32. $i++;
  33. $term_list_tag .= $term->name . ' / ';
  34. if ($count != $i) $term_list .= '  /  ';
  35. }
  36. echo $term_list_tag;
  37. }
  38.  
  39. ?></li>