Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Limit the Activity Stream to a Certain Number of Updates

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is related Codex page.
    You will need to change in your template something like this:

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

    to this:

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

    Check your theme /buddypress/activity/activity-loop.php file. If you don’t have it, just copy this file (preserving directories structure) from
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php


    007able
    Participant

    @007able

    Hi Slava, i admire your contributions here, pls how do i reduce the number of group activities on a group page?
    Thanks in advance.

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