Title: Creating Paginated Posts
Last modified: August 19, 2016

---

# Creating Paginated Posts

 *  Resolved [hardgain](https://wordpress.org/support/users/hardgain/)
 * (@hardgain)
 * [16 years ago](https://wordpress.org/support/topic/creating-paginated-posts/)
 * So I searched around and I found that you can insert “<!–nextpage–>” and create
   paginated posts in the default template.
 * However, that does not work for my template. Is there some coding I need to add
   in order for that function to work?
 * Thanks for helping!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [16 years ago](https://wordpress.org/support/topic/creating-paginated-posts/#post-1509395)
 * Take a look in the default single.php file for the wp_link_pages function that
   provides the pagination. You will need similar coding in your template.
 * The Codex documentation is [here](http://codex.wordpress.org/Template_Tags/wp_link_pages).
 *  Thread Starter [hardgain](https://wordpress.org/support/users/hardgain/)
 * (@hardgain)
 * [16 years ago](https://wordpress.org/support/topic/creating-paginated-posts/#post-1509526)
 * Yes thank you vtxyzzy. For anyone else with this problem, here is the code to
   insert into the single.php file…
 *     ```
       <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
       ```
   
 * Now if I can figure out how to insert different galleries into the paginated 
   posts…
 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [16 years ago](https://wordpress.org/support/topic/creating-paginated-posts/#post-1509540)
 * Glad you got it! Now, please use the dropdown at top right to mark this topic‘
   Resolved’.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Creating Paginated Posts’ is closed to new replies.

## Tags

 * [paginated posts](https://wordpress.org/support/topic-tag/paginated-posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/creating-paginated-posts/#post-1509540)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
