Hi Kees,
You’ll need to create a Shortcode to retrieve for instance just the first tag. Example code:
add_shortcode( 'display_single_tag_term', function() {
//$termslist = get_the_term_list( get_the_ID(), 'tag', '', ', ');
$terms = get_the_terms( get_the_ID(), 'post_tag');
$term_link = get_term_link( (int) $terms[0]->term_id, 'post_tag');
$term_name = $terms[0]->name;
ob_start();
// Start your PHP below
echo '<a href="'.$term_link.'" rel="post_tag" class="custom-single-tag">'.$term_name.'</a>';
// End your PHP above
return ob_get_clean();
} );
You can then place this Shortcode [display_single_tag_term]
in a Shortcode Block within a Container Block. Then, style the Container Block instead.