From: Anthony Talarico Date: Mon, 28 Dec 2015 21:37:19 +0000 (-0500) Subject: moving tags output to bottom X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b1f6bc229ee76c0361bd09e337a5eb3a9ab0f76a;p=WP-Plugins%2Fmichsci-products.git moving tags output to bottom --- diff --git a/views/product_detail.php b/views/product_detail.php index a6853df..f064b1e 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -27,12 +27,25 @@ foreach ($tags as $tag){ ?>

post_title; ?>

+ID); // 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){ ?> + +name . " "; ?> + +

$key_value = get_post_custom_values('miproduct_related_products', $product->ID); foreach($key_value as $key=>$value){ echo 'Related Products: ' . '' . $value . '';