From: Anthony Talarico Date: Mon, 28 Dec 2015 21:51:40 +0000 (-0500) Subject: added row to keep tags and related products grouped X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1fcb0351e39be4a5613d9a8a52ff8b70f439c62a;p=WP-Plugins%2Fmichsci-products.git added row to keep tags and related products grouped --- diff --git a/views/product_detail.php b/views/product_detail.php index d18f92a..b516b97 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -34,22 +34,28 @@ foreach ($tags as $tag){ ?> // foreach($key_value as $key=>$value){ // echo $value; // } ?> -

- Tags: '; -$args = array( - "hide_empty"=>false -); -$tags = wp_get_post_terms($product->ID,'michsci_tag', $args); -foreach ($tags as $tag){ ?> + +

+
+ Tags: '; + $args = array( + "hide_empty"=>false + ); + $tags = wp_get_post_terms($product->ID,'michsci_tag', $args); + foreach ($tags as $tag){ ?> -name . " "; ?> - -

name . " "; ?> + +

+
+
+ ID); foreach($key_value as $key=>$value){ echo 'Related Products: ' . '' . $value . ''; - } - -?> + }?> +
+
+