I need help with my wordpress site. While displaying "tags" on a product page,
<?php echo $product->get_tags(', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', $tag_count, 'woocommerce' ) . ' ', '</span>' ); ?>
is used to show them.
However, I need product page to show only 1 tag for a product. This code makes all tags to appear on the page. Which code should I use or how should I edit this?
in example: if a product has the tags: summer, winter, fall, spring I want only "summer" to be seen
