true,
]
); ?>
name) {
case 'category':
$class = '';
$list = get_the_category_list(esc_html($separator), '', $post->ID);
// translators: %s: list of taxonomy terms
$placeholder_text = __( '%s', 'aspace');
break;
case 'post_tag':
$class = '';
$list = '';
// translators: %s: list of taxonomy terms
$placeholder_text = '';
break;
default:
$class = strtr('_', '-', $taxonomy->name) . '';
$list = get_the_term_list($post->ID, $taxonomy->name, '', esc_html($separator), '');
$placeholder_text = sprintf(
// translators: %s: taxonomy name
__('%s:', 'aspace'),
$taxonomy->labels->name // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
);
}
if (empty($list)) {
continue;
}
?>