Skip to:
Content
Pages
Categories
Search
Top
Bottom

show members with specific Member Type


  • amang
    Participant

    @amang

    Hello,
    Can someone help please?
    How do I show/list members with specific member type on the members directory? I have students and tutors as members but I only want to list the tutors members type.
    Thanks

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Create an overload of the members-loop.php template.

    Then change this:
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>

    To this:
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&member_type=tutors' ) ) : ?>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar