Title: Issue with get_adjecent_post() function
Last modified: September 28, 2018

---

# Issue with get_adjecent_post() function

 *  [AHOiREKLAMA](https://wordpress.org/support/users/ahoireklama/)
 * (@ahoireklama)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/issue-with-get_adjecent_post-function/)
 * I would like to use the get_adjecent_post() native WordPress function to get 
   previous and next posts in my PHP template. The code works great without the 
   Post Types Order plugin. However, once it is activated and the order of posts
   is changed, that function is useless.
 * I am not able to go through all the posts with next/prev links – as if the posts
   were separated into multiple standalone groups of post.
 * Is this a known issue? Is there an alternative way to get next/previous posts
   with respect to the PTO’s order?
 * Thank you

The topic ‘Issue with get_adjecent_post() function’ is closed to new replies.

 * ![](https://ps.w.org/post-types-order/assets/icon-128x128.png?rev=1226428)
 * [Post Types Order](https://wordpress.org/plugins/post-types-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-types-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-types-order/)
 * [Active Topics](https://wordpress.org/support/plugin/post-types-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-types-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-types-order/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [AHOiREKLAMA](https://wordpress.org/support/users/ahoireklama/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/issue-with-get_adjecent_post-function/)
 * Status: not resolved