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:
c5793ce
)
restructuring code
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Jan 2016 15:07:14 +0000
(10:07 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Jan 2016 15:07:14 +0000
(10:07 -0500)
views/list_products.php
patch
|
blob
|
history
diff --git
a/views/list_products.php
b/views/list_products.php
index
a55da8d
..
56ac012
100644
(file)
--- a/
views/list_products.php
+++ b/
views/list_products.php
@@
-1,10
+1,10
@@
<?php if(!isset($_COOKIE['view']) || $_COOKIE['view'] == "grid"){ ?>
+ $cat_id = $_REQUEST[MICHSCI_CATEGORY_NAME];
<?php $term = get_term($cat_id, MICHSCI_CATEGORY_NAME); ?>
<?php echo $term->name; ?>
<?php get_template_part('parts/sidebar-l'); ?>
<div id="gridView" class="row">
<?php
- $cat_id = $_REQUEST[MICHSCI_CATEGORY_NAME];
echo category_description($cat_id);
$cat_children = get_term_children($cat_id, MICHSCI_CATEGORY_NAME);
?>