From: Laury GvR Date: Thu, 18 Dec 2014 22:00:38 +0000 (-0500) Subject: Minor SearchType fix X-Git-Tag: V1.0.0~48 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a8711952968b4ff097d9928dd586635f95bf764f;p=WP-Themes%2FSierraSands.git Minor SearchType fix --- 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');