From: Anthony Talarico Date: Fri, 29 Jan 2016 18:47:21 +0000 (-0500) Subject: removed test print statements and moved products breadcrumbs X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=81193363ca217c78ffc9ba2ebf646eba3fd98d2a;p=WP-Plugins%2Fmichsci-products.git removed test print statements and moved products breadcrumbs --- 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) . "
"; ?>
+ +