diff --git a/search-filter.php b/search-filter.php index 721d26e..88a5234 100644 --- a/search-filter.php +++ b/search-filter.php @@ -547,7 +547,7 @@ public function set_defaults() //grab search term for prefilling search input if(isset($wp_query->query['s'])) - {//!"£$%^&*() + {//!"£$%^&*() $this->searchterm = trim(get_search_query()); } @@ -876,7 +876,7 @@ public function check_posts() { $this->urlparams .= "&"; } - $this->urlparams .= "post_types=".$post_types; + $this->urlparams .= "post_type=".$post_types; } } @@ -1721,4 +1721,4 @@ function walk_taxonomy( $type = "checkbox", $args = array() ) { require_once(SEARCHANDFILTER_PLUGIN_DIR."/of-admin.php"); -?> \ No newline at end of file +?>