Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Pagination – How to remove last page numbers?

@kriskl

Participant

hi,

yes it is in the correct child theme 🙂

I have also tried this code – which seems similar to yours, and I can make more page numbers – front and end. but I can’t remove the end with 0

function ra_bbp_increase_pagination($args) {
    $args['end_size'] = 0;
    $args['mid_size'] = 2;
    return $args;
}
add_filter( 'bbp_topic_pagination', 'ra_bbp_increase_pagination' );
Skip to toolbar