Home › Forums › Support › Change number of pages/posts in previous/next function from 0 to 3+ for SEO. › Reply To: Change number of pages/posts in previous/next function from 0 to 3+ for SEO.
November 4, 2016 at 10:51 am
#241735
Tom
Lead Developer
Lead Developer
Hi there,
You can hide it with some CSS:
.paging-navigation {
display: none;
}
You can increase the amount of numbers by using a function like this:
add_filter( 'generate_pagination_mid_size','tu_increase_pagination_numbers' );
function tu_increase_pagination_numbers()
{
return 3;
}
Hope this helps 🙂