This topic has 3 replies, 2 voices, and was last updated 10 years by Anchora.

  • Author
  • #10216
     Anchora
    Participant

    Hi!

    When I edit the activityloop like this:

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

    the load-more-button at the bottom disappears!
    without that edit (max=), everything works fine.

    ideas?
    thanks!

    #10399
     Anchora
    Participant

    push!

    it is an serious issue, because when having the 20 standardactivities, the page loads sometimes up to 2mb at once!

    #10407
     Abe
    Keymaster

    Hi, That is because it is the wrong parameter. per_page is the good one. See http://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #10412
     Anchora
    Participant

    how easy things can be! 😀

    thanks abe!

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?