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:
bb64ac3
)
testing cat id variable
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 12 Jan 2016 19:57:17 +0000
(14:57 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 12 Jan 2016 19:57:17 +0000
(14:57 -0500)
views/list_products.php
patch
|
blob
|
history
diff --git
a/views/list_products.php
b/views/list_products.php
index
a4b3b6f
..
9426c25
100644
(file)
--- a/
views/list_products.php
+++ b/
views/list_products.php
@@
-8,7
+8,9
@@
echo category_description($catNum);
?>
- <?php echo $cat_id; ?>
+ <?php $cat_id = $_REQUEST[MICHSCI_CATEGORY_NAME];
+ 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';}?>">