Reply To: User search conditional brackets and exclude by usermeta values

Home Forums Product Support Forums Ajax Search Pro for WordPress Support User search conditional brackets and exclude by usermeta values Reply To: User search conditional brackets and exclude by usermeta values

#16443

Ernest Marcinko
Keymaster

Hi,

1. The conditional brackets does not yet work with the user search fields, only with custom post types. The only solution is to use a custom code.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

2. This is unfortunately not possible via arguments, only with custom code to filter the users after the search process is finished. This is a bit more difficult, but this should help to get you started:

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)