delarge
10/5/2015 - 12:52 PM

List WP taxonomies for post w/links and comma seperators

List WP taxonomies for post w/links and comma seperators

            <?php
            if( false != get_the_term_list( $post->ID, 'expertise' ) ) { ?>
                <div class="person__expertise">
                  <h3 class="person-details__title"><?php _e('Areas of expertise','leo')  ?></h3>
                  <?php echo get_the_term_list( $post->ID, 'expertise', '', ', ' ); ?>
               </div>
               <!-- person__expertise -->
            <?php } ?>