Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/01/2018 08:38:21 PM (8 years ago)
Author:
imath
Message:

BP Nouveau: Load older activities (load-more) in the same "ul" list.

The "ul" container of the activity stream loop needs to be exclude of paginated results to avoid having each page in a different container.

Fixes #7773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/activity-loop.php

    r11861 r12033  
    88<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
    99
    10     <ul class="activity-list item-list bp-list" >
     10    <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
     11        <ul class="activity-list item-list bp-list">
     12    <?php endif; ?>
    1113
    1214    <?php
     
    2729    <?php endif; ?>
    2830
    29     </ul>
     31    <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
     32        </ul>
     33    <?php endif; ?>
    3034
    3135<?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.