Title: Function Reference/wp link pages
Last modified: August 21, 2016

---

# Function Reference/wp link pages

 *  [zmd](https://wordpress.org/support/users/zmd/)
 * (@zmd)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/function-referencewp-link-pages-1/)
 * This may be a stupid question but since I am still in the learning phase of WordPress,
   I plan to ask it anyhow.
 * I was reading about the wp-link pages because I needed to add pagination to a
   certain page of mine and they have given the following code-
 * **Usage**
    <?php wp_link_pages( $args ); ?>
 * and they have also listed down certain parameters.
 * I don’t know where to write the usage code and where to place the parameters.
 * Kindly assist. Thanks in advance.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/function-referencewp-link-pages-1/#post-4422067)
 * [http://codex.wordpress.org/Function_Reference/wp_link_pages#Examples](http://codex.wordpress.org/Function_Reference/wp_link_pages#Examples)
 *  Thread Starter [zmd](https://wordpress.org/support/users/zmd/)
 * (@zmd)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/function-referencewp-link-pages-1/#post-4422071)
 * Hey esmi,
    I did read that page. I haven’t figured out where to type the <?php
   wp_link_pages( $args ); ?> code and where to type the before and after parameter
   code.
 * Whether it is supposed to be written in the Visual or Text section or in functions.
   php pf my theme?
 *  Thread Starter [zmd](https://wordpress.org/support/users/zmd/)
 * (@zmd)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/function-referencewp-link-pages-1/#post-4422078)
 * Ok, I just figured it out.
 * The only problem I am having now is that it is conflicting with the tabs because
   in my page I have tabs which have ample of data and within that I have placed
   the code for pagination.

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

The topic ‘Function Reference/wp link pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [zmd](https://wordpress.org/support/users/zmd/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/function-referencewp-link-pages-1/#post-4422078)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
