'blossom_portfolio_categories', 'orderby' => 'name', 'order' => 'ASC', ) ); $terms = get_terms( $args ); if( $terms ){ ?>
slug ) . '">' . esc_html( $t->name ) . ''; } ?>
'blossom-portfolio', 'post_status' => 'publish', 'posts_per_page' => -1 ) ); $portfolio_qry = new WP_Query( $arg ); if( taxonomy_exists( 'blossom_portfolio_categories' ) && $portfolio_qry->have_posts() ){ ?>
have_posts() ){ $portfolio_qry->the_post(); $terms = get_the_terms( get_the_ID(), 'blossom_portfolio_categories' ); $termslug = ''; $i = 0; if( $terms ){ foreach( $terms as $t ){ $i++; $termslug .= $t->slug; if( count( $terms ) > $i ){ $termslug .= ' '; } } } $term_list = get_the_term_list( get_the_ID(), 'blossom_portfolio_categories' ); if( has_post_thumbnail() ){ $image_size = apply_filters( 'bttk_portflio_image', 'full' ); ?>
' . $term_list . '
'; ?>