Reply To: Pagination – How to remove last page numbers?
yhm,
I will try on another test site
maybe some plugin conflict..
here is some code above and below
//ONLY BBPress below
//create vertical list subforum layout
function custom_bbp_sub_forum_list() {
$args['separator'] = '
';
return $args;
}
add_filter('bbp_after_list_forums_parse_args', 'custom_bbp_sub_forum_list' );
function ra_bbp_increase_pagination($args) {
$args['end_size'] = 0;
$args['mid_size'] = 3;
return $args;
}
add_filter( 'bbp_topic_pagination', 'ra_bbp_increase_pagination' );
function rk_hot_topics() {
$reply_count = bbp_get_topic_reply_count();
if ( $reply_count > 5 )
echo '<span class="hot">HOT</span>';
}
add_action( 'bbp_theme_before_topic_title', 'rk_hot_topics' );