Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Suppose I write a long article and display products in one post but it is too long so I want to cut it and continue the next page in the same post? Can I do that in wordpress? I want to display many products so I want to build pages with in a post. One post but there is a navigation numbers like 1 2 3 -- like 3 page in one Post? How do I do that?

share|improve this question
    
Just to clarify: You want to take one long post and have it paginated to multiple pages? –  jnpcl Mar 22 '11 at 16:45
1  
Yes very long post and want to cut it and numbered it but all in one Post, not in another post. Thanks –  klasa Mar 22 '11 at 16:51
add comment

migrated from stackoverflow.com Mar 22 '11 at 17:18

This question came from our site for professional and enthusiast programmers.

1 Answer

You can use the WordPress"nextpage" tag:

<!--nextpage-->

You just drop this into the HTML of your WordPress page wherever you want to break it up.

I think your theme must support this tag in order to handle the pagination - on my site I have page "previous/next" links hidden, but most themes probably support this out of the box.

share|improve this answer
add comment

Your Answer

 
discard

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