[buddypress-trac] [BuddyPress] #3679: Multiple loops and pagination variable collision

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Oct 12 02:31:28 UTC 2011


#3679: Multiple loops and pagination variable collision
-------------------------+------------------------------
 Reporter:  r-a-y        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Core         |     Version:  1.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by r-a-y):

 So if you use a default members loop and you want another loop independent
 of the current one, you could use something like:

 {{{
 <?php if ( bp_has_members( 'page_arg=members&per_page=5' ) ) : ?>
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3679#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list