Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stick a featured member at the top in member directory

  • @saiallexander

    Participant

    I’m trying to stick a member at the top in the member directory. If a member have meta_key: featured and meta_value: 1, it display on top of any other newest members. How to make it like that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @danbp

    Participant

    @saiallexander

    Participant

    @danbp yes, already tried that one, but it actually not quiet fit what I need

    more precisely I want to stick a member have meta_key: featured and meta_value: 1 at the top in the search result using BP Profile Search Plugin. Read on another source maybe I need to modify member-loop to archive that

    @danbp

    Participant

    This is not directly a BP support question.
    If your goal is to stick a search result from the profiles with BP Profile Search Plugin, i guess you have to ask the author of the plugin.

    @saiallexander

    Participant

    not always stick with BP Profile Search Plugin, just want to modify member-loop to show a member with meta key n value at the top following by other newest members. I think with this kind of hack whatever search method I use, always can show position like that. Hope this explain

    @xevo

    Participant

    Before any loops take place, do a check if there are any featured members (probably through a metakey check). If so, show them. After that let the loop run as usual.

    [Just a raw sketch]

    @saiallexander

    Participant

    @xevo yes, that’s what I need..similar like sticky post but for member directory, just don’t know how to start

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stick a featured member at the top in member directory’ is closed to new replies.
Skip to toolbar