get_cat_list() ) ) { return; } $cats = get_the_terms( get_the_ID(), ATBDP_CATEGORY ); ?>
term_id, 'category_icon', true ); $term_link = esc_url( get_term_link( $cats[0]->term_id, ATBDP_CATEGORY ) ); $term_name = $cats[0]->name; ?> 1 ) : $totalTerm = $totalTerm - 1; ?>
+
term_id, 'category_icon', true ); $term_icon = directorist_icon( $term_icon, false ); $term_label = trim( "{$term_icon} {$cat->name}" ); $term_link = esc_url( ATBDP_Permalink::atbdp_get_category_page( $cat ) ); $term_link = esc_url( get_term_link( $cat->term_id, ATBDP_CATEGORY ) ); echo wp_kses_post( "{$term_label}" ); } ?>