Found a solution to this sorry for posting before doing much searching.
<?php
function my_query_filter_new ( $query_string ) {
$query_string .= ‘&per_page=5’;
return $query_string;
}
add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
?>
function my_query_filter_new ( $query_string ) {
$query_string .= ‘&per_page=5’;
return $query_string;
}
add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
It appears this is not the answer to what I was trying to do. This limits the amount of posts on the ajax query string to only show 5 per page. Does any one else have any ideas?
username_
@username_
12 years, 10 months ago
Hello Is there a hook or something I can well hook into to change this default of five to three?
Thanks!