Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Updates Only in Activity Stream


Korhan Ekinci
Participant

@korhanekinci

Hello,

Thnx Roger. I did make some research and found this post:
https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/

Since I also have this code in my activity-loop.php:
php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) ) :

Thanks to @Boone :
https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/#post-45733

I did this in my child theme’s function.php file:

function my_custom_query_filter( $query_string ) {
$query_string .= ‘&action=activity_update’;

return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );

It seems to work! I now just need to get rid of the dropdown filter boxes!

Skip to toolbar