From a8711952968b4ff097d9928dd586635f95bf764f Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 18 Dec 2014 17:00:38 -0500 Subject: [PATCH] Minor SearchType fix --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index cd87b93..f27dec6 100755 --- a/functions.php +++ b/functions.php @@ -59,7 +59,7 @@ function glm_page_menu($parent = 0, $class = '') function SearchFilter($query) { - if(isset($_GET['search-type'])) { + if(isset($_GET['searchType'])) { $searchType = $_GET['searchType']; if ($searchType == 'blog' && !is_admin()) { $query->set('post_type', 'post'); -- 2.17.1