This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Search in following user meta fields

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search in following user meta fields Reply To: Search in following user meta fields

#24345
Ernest MarcinkoErnest Marcinko
Keymaster

Interesting, I cannot seem to be able to replicate this fully. I have an idea though. Please try adding the following code to the functions.php file in your theme directory:

add_action('asp_query_args', 'asp_query_args_meta_changes');
function asp_query_args_meta_changes($args) {
  $args['user_search_meta_fields_separate_subquery'] = 1;
  return $args;
}

This should force a separate keyword logic for the meta queries in the user search.