Skip to:
Content
Pages
Categories
Search
Top
Bottom

Organising members listing by "State" field in user profile

  • Avatar of rsandilands
    rsandilands
    Participant

    @rsandilands

    I have a “State” field in the extended user profile.

    The field is a select menu with options for each state.

    I’d like to amend the members loop so that members are listed by State but am having trouble implementing this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of danbp
    danbp
    Moderator

    @danbp

    hi @rsandilands,

    no need to do this, because BP make each profile item clickable by default.
    So if you click on a state name on a profile, this will bring up a user list who declared this state !
    Perhaps add some explanation about this filtering to the field description (ie: click here to see other users living in this state) and you’re done ! ;-)

    Avatar of rsandilands
    rsandilands
    Participant

    @rsandilands

    THanks for the reply and that is certainly useful but the client is clear that they want the member directory page to be grouped by this State field so I need to edit members-loop.php accordingly.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.