[wp-hackers] previous and next post_link

Dmitry Tokmakov dmitry at getmoxied.net
Mon Oct 1 19:23:23 UTC 2012


Hi all.

I'm using previous_post_link and next_post_link within custom post type in custom single template.

I have about hundred posts listed and ordered by date. When I'm trying to navigate to the next or prev post with links generated by those functions I get skip a lot of posts and just after 5 clicks I reach the end or beginning. 

Note: it works just fine for regular post type. 

Thank you in advance! 

Dmitry 
Moxie Media Group 


More information about the wp-hackers mailing list