WordPress Next / Previous Custom Post links

I built a site recently that required a few different custom post types.

Not an issue.

As I looked at the design I saw that it called for next and previous “projects” and thought no issue at all I can use next_post_link() or get_next_post_link()

No problem I got this!…..

4 hours later multiple searches no real good solutions I ended up writing a plugin that “seems” to work for me.

Take a look at Next Post on Github and let me know if you have any success.

It should give you next / previous links inside a single custom post, however I don’t think It will work in a custom taxonomy but let me know if it does or if people might wan’t that.


  1. Upload the next-post directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set the display options under Settings → Next Post.

This will give you next_custom_post() and previous_custom_post()

Download View on Github

Signup for my mailing list

Receive other rambings like this on design, code, and some times food.