Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Increase number of posts on the Activity Stream


  • Matt Page
    Participant

    @matt-page

    Hi,

    I’m currently using wordpress 3.9.2, with a theme that isn’t buddypress verified (Vistatheme by themaple).

    I have got everything to work except the ‘Load More’ button at the bottom. I’ve since deleted this button as its misleading (because I can’t get it to work with the JS of my theme) and I want to extend the number of post on the stream above the max 20. I have tried using this code in the activity-loop.php:

    <?php if ( bp_has_activities( ‘max=50’ ) ) : ?>

    This works if I select any number lower than 20, but it won’t increase the number of posts..

    Where do I go from here guys? Any suggestions?

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

  • danbp
    Moderator

    @danbp

    Try this: if ( bp_has_activities ('per_page=50') )


    Matt Page
    Participant

    @matt-page

    Thank you so much!

    I could’ve sworn i’d tried that before and it hadn’t worked, however its worked straight away today for me!


    danbp
    Moderator

    @danbp

    Browser cache deletion or F5 screen refresh are magic decisions (sometimes) 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Increase number of posts on the Activity Stream’ is closed to new replies.
Skip to toolbar