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

Front-end filters for user search

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34299
    willfaulds59willfaulds59
    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 MarcinkoErnest 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.

    #34304
    willfaulds59willfaulds59
    Participant

    Excellent!

    This has worked perfectly.

    #34307
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.