-
muchad posted on the forum topic How to change the number of activity items to show per page? in the group Creating & Extending: 13 years, 11 months ago
@streamstalker
good job.. -
muchad posted on the forum topic How to change the number of activity items to show per page? in the group Creating & Extending: 13 years, 11 months ago
@aomao
your welcome, please visit my buddypress at http://blog.uin-malang.ac.id -
muchad posted an update 14 years ago
cool of buddypress at http://blog.uin-malang.ac.id
-
muchad posted on the forum topic How to change the number of activity items to show per page? in the group Creating & Extending: 14 years, 3 months ago
put this in your functions.php in your theme
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=10′;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );you just change per_page option as you need…
it’s run for me, you can see here http://blog.uin-malang.ac.id -
muchad posted on the forum topic How to add (\'per_page=35\') without messing up \"Load More\" link in the group Creating & Extending: 14 years, 3 months ago
put this in your functions.php in your theme
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=10’;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );you just change per_page option as you need…
it’s run for me, you can see here http://blog.uin-malang.ac.id -
muchad posted on the forum topic per_page option in bp_has_activities() in the group Creating & Extending: 14 years, 3 months ago
put this in your functions.php in your theme
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=10′;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );you just change per_page option as you need…
it’s run for me, you can see here http://blog.uin-malang.ac.id -
muchad joined the group Creating & Extending 14 years, 3 months ago
-
muchad posted on the forum topic How can I set "Show NewBlogPosts" as default on acitivity-stream? in the group How-To and Troubleshooting: 14 years, 3 months ago
i ‘ve success change buddypress activity stream default option with multiple option, you just put this in functions.php in your theme. function blog_posts_by_default( $query_string ) { global $bp; if ( !$query_string ) $query_string = ”; if ( ($bp->current_component == BP_ACTIVITY_SLUG || !$bp->current_component) && !strpos($query_string, ‘ty…[Read more]
-
muchad joined the group How-To and Troubleshooting 14 years, 4 months ago
-
muchad posted an update 14 years, 5 months ago
I try buddypress..it’s cool..
@muchad
Not recently active