I am using the max parameter to limit the activiy stream but when I put in 5 for example it shows 5 items, then when I click “load more” further 5 items and further 5 items and so on.
How to limit the items at all? Show ONLY the newest 5 items and no “load more”.
I know that I might achieve that deleting the “if ( bp_activity_has_more_items() ) : ?>” at the activity template but is there a better way to do what I want?
Please try setting per_page and max both. If that does not work, something is changing you max.
Regards
Brajesh
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
This topic is: not resolved