From ea3e98aa525c18eb25e4e6b5aabc76387177b0a7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 30 Dec 2015 08:35:36 -0500 Subject: [PATCH] changed related products section to related files --- views/product_detail.php | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/views/product_detail.php b/views/product_detail.php index 9377c2e..b2865f0 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -16,14 +16,18 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);

post_title; ?>

-
+
ID, 'large'); ?> -
-
-
-

Related Files

- -
+
+ +
+ ID); + foreach($key_value as $key=>$value){ + $shortcode_output = do_shortcode($value); + print $shortcode_output; + }?> +
-
- -
+
+ +
+
+ Gallery '; ?> +
+
-- 2.17.1