Filter Everything supports for filtering only native (Main) WP_Query. The custom WP_Queries can be filtered with the PRO version only.
Im working on a client’s website that has pro version installed.
It works on everything other than search. When there is the search involved, it does not filter the keyword.
../brand-tesla/$keyword=models -> this is not working.
If I change the query to
../brand-tesla/$s=models -> looking at the query monitor it does work.
Since the theme code is already made and lots of dependencies already,
I can’t change ‘s’ => $_GET[‘keyword’] to ‘s’ => $_GET[‘s’]
Here’s the custom query args.
Located on a custom page for search result of a custom post type.
$search_qry = array(
'post_type' => "property",
'post_status' => 'publish',
's' => $_GET['keyword']
Sorting without $_GET[‘keyword’] works fine. As soon I start having $_GET[‘keyword’], the filter does not work and it only takes the search ‘keyword’ argument.