From 7b5db33ffeea8fd3bfc5e366859bb8ae2a0147c6 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 31 Dec 2015 10:59:55 -0500 Subject: [PATCH] added slug ids to tags link --- views/product_detail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/product_detail.php b/views/product_detail.php index 540a936..a9210bc 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -44,7 +44,7 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args); ); $tags = wp_get_post_terms($product->ID,'michsci_tag', $args); foreach ($tags as $tag){ ?> - '. $tag->name . '' . "
"; ?> + slug . '"href="'. get_permalink(510) . '">'. $tag->name . '' . "
"; ?> -- 2.17.1