Skip to:
Content
Pages
Categories
Search
Top
Bottom

Order memberloop by birthday


  • Martijn
    Participant

    @ximie90

    Hi,

    I’m want to order the list of members by birthday, a custom profile field. But do not know how.

    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&type=alphabetical&per_page=300' ) ) : ?>
       
      <?php do_action( 'bp_before_directory_members_list' ); ?>
       <?php while ( bp_members() ) : bp_the_member(); ?>

    I know &type=alphabetical orders it by alphabetical order.

  • You must be logged in to reply to this topic.
Skip to toolbar