Front-end filters for user search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Front-end filters for user search

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 9 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34299
    willfaulds59
    willfaulds59
    Participant

    I am impressed with the plugin and documentation but have a, hopefully, simple query.

    I would like to setup a user search and be able to front-end filter by userrole but I cannot work out how to do this.

    #34303
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Thank you for your kind words!

    You can try creating a filter on the wp_capabilities custom field, it should store the user role, like this: https://i.imgur.com/9xb9XCj.png
    The roles have to be entered line-by-line there, the {get_values} syntax will not work in that case unfortuantely.

    Best,
    Ernest Marcinko

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


    #34304
    willfaulds59
    willfaulds59
    Participant

    Excellent!

    This has worked perfectly.

    #34307
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.