From b1f6bc229ee76c0361bd09e337a5eb3a9ab0f76a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 28 Dec 2015 16:37:19 -0500 Subject: [PATCH] moving tags output to bottom --- views/product_detail.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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 . ''; -- 2.17.1