Title: [Plugin: Polylang] next_post_link/previous_post_link
Last modified: August 20, 2016

---

# [Plugin: Polylang] next_post_link/previous_post_link

 *  Resolved [yoyurec](https://wordpress.org/support/users/yoyurec/)
 * (@yoyurec)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-next_post_linkprevious_post_link/)
 * In WP **next_post_link** & **previous_post_link** functions doesn’t support custom
   taxonomy (with custom post types all is OK). Polylang plugin uses own taxonomy,
   so when we use loop with Next\Prev links we get posts in all languages (((
 * To fix this try to install [“Ambrosite Next/Previous Post Link Plus”](http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/)
   plugin and replace default WP functions to this one:
 *     ```
       <div class="navbutton nav-previous">
       	<?php next_post_link_plus( array('in_same_tax' => 'language') ); ?>
       </div>
       <div class="navbutton nav-next">
       	<?php previous_post_link_plus( array('in_same_tax' => 'language) ); ?>
       	</div>
       ```
   
 * PS: tnx for 0.4 version, a lot of work done! my wishlist became empty )))
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

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

 *  Thread Starter [yoyurec](https://wordpress.org/support/users/yoyurec/)
 * (@yoyurec)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-next_post_linkprevious_post_link/#post-2393057)
 * sorry, in prev link typing error –
    <?php previous_post_link_plus( array(‘in_same_tax’
   => ‘language**‘**) ); ?>
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-next_post_linkprevious_post_link/#post-2393301)
 * To be honest, except for the languages, I don’t use custom taxonomies in my site,
   so my tests were obviously not complete. I will try to correct this in the next
   release.

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

The topic ‘[Plugin: Polylang] next_post_link/previous_post_link’ is closed to new
replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-next_post_linkprevious_post_link/#post-2393301)
 * Status: resolved