true, ] ); ?>
name ) { case 'category': $class = 'category-links term-links'; $list = get_the_category_list( esc_html( $separator ), '', $post->ID ); /* translators: %s: list of taxonomy terms */ $placeholder_text = __( 'Posted in %s', 'knowx' ); break; case 'post_tag': $class = 'tag-links term-links'; $list = get_the_tag_list( '', esc_html( $separator ), '', $post->ID ); /* translators: %s: list of taxonomy terms */ $placeholder_text = __( 'Tagged %s', 'knowx' ); break; default: $class = str_replace( '_', '-', $taxo->name ) . '-links term-links'; $list = get_the_term_list( $post->ID, $taxo->name, '', esc_html( $separator ), '' ); $placeholder_text = sprintf( /* translators: %s: taxonomy name */ __( '%s:', 'knowx' ), $taxo->labels->name // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ); } if ( empty( $list ) ) { continue; } ?>