get_tags(', ', ''. _n(."/> get_tags(', ', ''. _n(."/> get_tags(', ', ''. _n("/>
خرید بک لینک

Vote count: 0

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

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 30 ارديبهشت 1395 ساعت: 17:18

صفحه بندی