Skip to:
Content
Pages
Categories
Search
Top
Bottom

less items in BuddyPress stream


  • wh82
    Participant

    @wh82

    Hi,

    I’m looking for a way to display less then the default 20 items in the BuddyPress stream.

    Found some old topics on this, but nothing (editing the_loop.php with some extra code) seems to work…

    Do you know what to do to change the ’20’ to ’10’?

Viewing 2 replies - 1 through 2 (of 2 total)

  • @mcuk
    Participant

    @mcuk

    Hi,

    Copy the line file activity-loop.php into your child theme (maintaining the same file structure), and replace the line:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    with the line:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>


    wh82
    Participant

    @wh82

    doesn’t work… 🙁

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