category posts on a page - page 2 and 3? (2 posts)

  1. charismaarts
    Posted 3 years ago #

    Hello: I know there are lots of ways to show posts from a certain category on a page, including excerpts and thumbnails, etc. What I am wondering about is if there is any way to do this; but have it so if the posts are more than a certain number, they continue on a page 2? (like the home page). Like we have 100 posts in category "cat1"; is there a way to show most recent 25 posts on page1 and then show posts 26-50 on a second page and so on?

    thanks so much,


  2. vtxyzzy
    Posted 3 years ago #

    You probably need to add the 'paged' variable to your query. Here is a Codex article that might help: https://codex.wordpress.org/Pagination#Adding_the_.22paged.22_parameter_to_a_query

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.