WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Theres a site i did that on the home page, i created kind of like a news box type of thing which is what the client wanted...

the posts bit im using to limit the posts on the index page is


Now, this limits my posts to "4" or whatever number i want etc, when the user clicks on the "news" page button, it takes them to a page which has the full posts loop without the query_posts('posts_per_page=4'); which essentially shows them all the posts.

Now the problem is that, this person is posting A LOT now and the page now has a bunch of posts one after the other.

Is there a way to limit these to any number (that i choose) and show the rest of the posts on another page???

So essentially something that says

filter out 20 messages/excerpts for example, BUT after 20 show a "next" page or something like that?

is that possible? Because as it stands now, by years end this ONE page will have hundreds of posts.

ive looked around but not sure exactly what im looking for. This one came close (here on SO) http://stackoverflow.com/questions/3875895/wordpress-loop-show-limit-posts And although its similar, i need a way to limit the posts on the page AND continue them on another page so that one page doesnt hold ALL the posts.

Thanks in advanced.

share|improve this question
Do you mean pagination? – Rutwick Gangurde Jun 21 '12 at 5:24

just use WP's custom built pagination or a pagination plugin and that's it, not sure if this is what you mean though

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.