From fc81671ad3d615ff375109fdcbc3de80b10d0c98 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 28 Dec 2015 14:29:14 -0500 Subject: [PATCH] added id to product tags on product detail page --- views/product_detail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/product_detail.php b/views/product_detail.php index 303638d..839bb85 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -18,10 +18,10 @@ $args = array( "hide_empty"=>false ); $tags = wp_get_post_terms($product->ID,'michsci_tag', $args); -foreach ($tags as $tag){ +foreach ($tags as $tag){ ?> - echo $tag->name . " "; -}?> +

name . ", "; ?>

+

post_title; ?>