Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with bp_has_members and search_terms


  • Felipe Navarro V.
    Participant

    @konus

    I’m trying to do my own listing “members” page.

    I usually do this, in order to display members by a custom field:

    <?php if ( bp_has_members( 'search_terms=Teachers' ) ) : ?>

    But I have the following problems:

    – Trying to display more than 20 records:

    bp_has_members( 'search_terms=Teachers&per_page=40' ) don’t work (filter just by search_terms)

    bp_has_members( 'per_page=40&search_terms=Teachers' ) (list everything ignoring search_terms)

    I use & and &amp without good results.

    – Sorting alphabetically :

    bp_has_members( 'search_terms=Teachers&type=alphabetical' ) just search_terms

    bp_has_members( 'type=alphabetical&search_terms=Teachers' ) just alphabetical

    Anybody using both search_terms and other filters in bp_has_members?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with bp_has_members and search_terms’ is closed to new replies.
Skip to toolbar