Support » Plugin: WooCommerce » How to display product tag names on home and category pages

  • Resolved jjjrrr

    (@jjjrrr)


    I am trying to display product tags on the home page and category pages. Along with the product title the theme should display any tags in alphabetical order, separated by a “·”.

    For example: Tag 1 · Tag 2 · Tag 3

    This is what I have at the moment:

    <?php echo get_the_tag_list('<span class="woocommerce-display-tag">Tags: ',' · ','</span>');?>

    The output is blank.

    How can I get this to work?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display product tag names on home and category pages’ is closed to new replies.