Re: URGENT – How To Set Default Values?
Hmm I tried this, but nothing? I changed `if ( bp_has_activities( bp_ajax_querystring( ‘activity’ )) ) ?>` to `if ( bp_has_activities( bp_ajax_querystring( ‘friends’ )) ) ?>`
Here is the code for the whole of the activity-loop.php file
`
<?php
function my_query_filter_new ( $query_string ) {
$query_string .= ‘&per_page=10’;
return $query_string;
}
add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
if ( bp_has_activities( bp_ajax_querystring( ‘friends’ )) ) ?>
/* Show pagination if JS is not enabled, since the “Load More” link will do nothing */
`