Site logo

Archived topic

category post navigation

5 replies · Started by Gonzalo on August 25, 2021

Viewing posts 1–6 of 6

Hi there,
I have a problem with bottom page navigation.
I have 11 post within a category. Show only 10.
Below the last post, the page navigation indicates 1 and 2 pages.
When going to the second one, I get error.
https://chaoagosto.cl/opinion/
https://prnt.sc/1qimem9

Where can I change the number of posts in the category?

Best regards

Hi there,

Do you want to apply this on all archive pages?

If yes, you can go to WP Admin Dashboard > Settings > Reading and set the "Blog pages show at most" value to more than 10.

If you want to apply this on a specific category only, you may have to filter it using pre_get_posts.
example:
https://wordpress.stackexchange.com/a/47909

Hi there,

I can see 12 posts in this category, there's no page 2.

Is it set to 8 posts currently? Let me know :)

Hi Ying,
it's true, I configured it with all the posts, it was urgent to solve it for my client, you know :(
By the way, I thnik the problem it's permanet links setting:
https://prnt.sc/1qklvga

What do you think?

No, I don't think the permanent link setting is causing the issue.

Have you tried clear cache and disable all plugins to test?

This archived topic is closed to new replies.