From 5232957db46c9e91305094400c463665c12ffe13 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 11 Feb 2016 11:06:03 -0500 Subject: [PATCH] adding list view for products display --- views/list_categories.php | 7 ++----- views/list_products.php | 31 +++++++++++++++++++++++++------ views/product_detail.php | 6 +++--- 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/views/list_categories.php b/views/list_categories.php index fb99d85..4a4d801 100644 --- a/views/list_categories.php +++ b/views/list_categories.php @@ -8,11 +8,8 @@ ' . print_r($ancestors, true) . "
"; ?> - - -
- + @@ -36,7 +33,7 @@
- + diff --git a/views/list_products.php b/views/list_products.php index c001c8e..321abd5 100644 --- a/views/list_products.php +++ b/views/list_products.php @@ -1,8 +1,8 @@ - + ' . $term->name . ''; ?> - +
+' . $term->name . ''; ?>
- + + + + + + ID,'michsci_tag'); ?> + + + @@ -70,6 +88,7 @@
+ diff --git a/views/product_detail.php b/views/product_detail.php index 1f4dadc..278712f 100644 --- a/views/product_detail.php +++ b/views/product_detail.php @@ -38,9 +38,9 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args); print $shortcode_output; }?>