From: Anthony Talarico Date: Mon, 28 Dec 2015 19:29:14 +0000 (-0500) Subject: added id to product tags on product detail page X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fc81671ad3d615ff375109fdcbc3de80b10d0c98;p=WP-Plugins%2Fmichsci-products.git added id to product tags on product detail page --- 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; ?>