2

The do_shortcode() function is currently in the foreach loop. I don't know what are the parameters of this shortcode , but if it accepts comma separated values of term slugs: $terms = get_the_terms( $post->ID , 'shoptype' ); $i=1; $commaSeparatedvalues=""; foreach ( $terms as $term ) { $term_link = get_term_link( $term, 'shoptype' ); if( ...


Only top voted, non community-wiki answers of a minimum length are eligible