projects
/
WP-Plugins
/
michsci-products.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84c7ef
)
testing cat id for sub category displays
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 12 Jan 2016 19:55:21 +0000
(14:55 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 12 Jan 2016 19:55:21 +0000
(14:55 -0500)
views/list_products.php
patch
|
blob
|
history
diff --git
a/views/list_products.php
b/views/list_products.php
index
b58306f
..
a4b3b6f
100644
(file)
--- a/
views/list_products.php
+++ b/
views/list_products.php
@@
-8,7
+8,8
@@
echo category_description($catNum);
?>
- <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
+ <?php echo $cat_id; ?>
+ <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
<?php $tags = wp_get_post_terms($product->ID,'michsci_tag'); ?>
<div class="<?php foreach ($tags as $tag)echo $tag->slug . " ";?> product grid small-12 medium-4 columns<?php if ($product->end){ echo ' end';}?>">