From: Anthony Talarico Date: Thu, 14 Jan 2016 14:04:02 +0000 (-0500) Subject: added features header to features output, adding term name to product output X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cc315a66d2662c938696ae22dbce0bc72063b147;p=WP-Plugins%2Fmichsci-products.git added features header to features output, adding term name to product output --- 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);