• I was wondering if anyone knew of a way to sort and or search through a displayed user list. I have the user search up and running however, it creates a new table and displays the information on there. I wanted to try and clean up the look of it and have it change the displayed user list based on the search. The other part I was wondering about was if there was a sort option for the display user list portion.

    https://www.ads-software.com/plugins/front-end-only-users/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Chuck,

    You could make use of the field_name and field_value attributes of the [user-list] shortcode to only show specific users in a list. For example, if you had a field called Animal, you could do something like: [user-list field_name=”Animal” field_value=”Dog”]. This would only show users who’ve selected Dog for this theoretical Animal field.

    For the [user-search] shortcode, you could make use of the search_fields attribute to select which fields a visitor can search. There’s no option to have it display the full list of users and then dynamically weed out ones that don’t match a search. That being said, you should be able to use both shortcodes on the same page to get close to having that behaviour.

    Thread Starter chuckanutadmin

    (@chuckanutadmin)

    I was speaking more from the users standpoint on sorting. Is there a way that I could set it up so that they can click on a heading and it will sort?

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Chuck,

    Unfortunately, there isn’t an option to do this within the list or search functionality.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sorting through user information’ is closed to new replies.