Title: Using posts_nav_link with quirky loop
Last modified: August 20, 2016

---

# Using posts_nav_link with quirky loop

 *  [Hugo](https://wordpress.org/support/users/hugogpropellerse/)
 * (@hugogpropellerse)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/using-posts_nav_link-with-quirky-loop/)
 * I have items using a custom taxonomy which is why I’m using a custom loop like
   this:
 *     ```
       <?php
       $args = array( 'post_type' => 'produkter', 'posts_per_page' => 10 );
       		$loop = new WP_Query( $args );
       		if ( have_posts() ) :
       		while ( $loop->have_posts() ) : $loop->the_post();
       		?>
       ```
   
 * Now, I’d like to use the posts_nav_link to paginate the results, but for some
   reason I can’t get it to work. It simply will not render any links. So is this
   because of my custom loop? Do I have to use a “vanilla” loop in order to be able
   to use posts_nav_link?

The topic ‘Using posts_nav_link with quirky loop’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [posts_nav_link](https://wordpress.org/support/topic-tag/posts_nav_link/)
 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Hugo](https://wordpress.org/support/users/hugogpropellerse/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/using-posts_nav_link-with-quirky-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
