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

I have a top level page with a lot of subpages.
When a user visits the top level page they currently see the titles/thumbnails/excerpts of all of the subpages.
How can I paginate the display of the subpages so that only 3 are displayed at a time, giving the user the ability to navigate via the typcial "< Previous 1,2,3,4,5 Next >" pagination menu?

Any help would be greatly appreciated.


share|improve this question

Did you actually insert the titles/thumbnails/excerpts of the subpages manually using the post editor?

If so, you can place the <!--next page--> tag in between every three subpages, and they will be split into paginated sections. (Use the HTML editor to insert the tag.)

Keep in mind that many people do not like pagination, so doing this could potentially drive visitors away from your site.

share|improve this answer

You should use, wp_link_pages function.

When you writing an article use this syntax;


Than add this line where ypu want to display your pagination links in your single.php file;

<?php wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink=page %'); ?>

You can get more description about the funcstion on Codex pages.

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.