From cc315a66d2662c938696ae22dbce0bc72063b147 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 14 Jan 2016 09:04:02 -0500 Subject: [PATCH] added features header to features output, adding term name to product output --- views/list_products.php | 6 +++--- views/product_detail.php | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/views/list_products.php b/views/list_products.php index 0e62fc0..b2366e6 100644 --- a/views/list_products.php +++ b/views/list_products.php @@ -6,7 +6,9 @@ echo category_description($cat_id); $cat_children = get_term_children($cat_id, MICHSCI_CATEGORY_NAME); ?> + + name; ?> ID,'michsci_tag'); ?> @@ -14,9 +16,7 @@
- +
name; ?>
diff --git a/views/product_detail.php b/views/product_detail.php index 82e7b92..1f4dadc 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -19,8 +19,9 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
ID, 'large'); ?>
-
+
Features '; $key_value = get_post_custom_values('miproduct_features', $product->ID); foreach($key_value as $key=>$value){ $shortcode_output = do_shortcode($value); -- 2.17.1