From 81193363ca217c78ffc9ba2ebf646eba3fd98d2a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 29 Jan 2016 13:47:21 -0500 Subject: [PATCH] removed test print statements and moved products breadcrumbs --- index.php | 1 - views/list_categories.php | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 7e2c6ab..4252dcf 100644 --- a/index.php +++ b/index.php @@ -465,7 +465,6 @@ function michsci_shortcode($atts) } else if ( !$catid_id && !$product_id ) { $text_query = $_REQUEST['tsearch']; if(isset($_REQUEST['tsearch'])){ - echo $text_query; setcookie("test", "cool",time()+1, "/" ); } else { setcookie("test", "null",time()+1, "/" ); diff --git a/views/list_categories.php b/views/list_categories.php index b56f7c4..180706e 100644 --- a/views/list_categories.php +++ b/views/list_categories.php @@ -1,8 +1,7 @@ "); - } ?> + if($cat_id){ ?> + "); ?>
' . Products . ''." > "; ?> name . print_r($ancestors, true) . "
"; ?>
+ +
-- 2.17.1