Thank you for this! This code snippet is definitely heading in the right direction. I works well for custom loops of latest entries as long as you do not need to load more, as on the main activity stream page. This is where I am trying to limit the output.
I’ll need to play with it a bit to get working the way I’d like. When I pass the arguments ( ‘per_page=5&page=1′ ) it returns only 5 items as expected, however, it returns the same 5 items every time I click ‘Load More’. I get the same result even if I remove the ‘page=1′ parameter since that is a default value.
I am working with the latest BP 1.5.4 so I am not sure if there were any significant changes to the activity since. I’ll keep searching and experimenting.
I appreciate the feedback and help!