I am using custom page templates to structure different blog layouts in my WordPress theme that I want to sell. Everything is functioning fine except the post_nav_link navigation (previous post | next post). The wordpress codex says that post_nav_links won't work with custom page templates, but I really don't want to start all over again. Is there anything I can do to make post_nav_link navigation work with custom page templates?
Codex Refernece: http://codex.wordpress.org/Next_and_Previous_Links
Thanks @janw, I will try this in the morning. Before I do so, can you cofirm with me if this is the right way to PHP tag the first lot of code?
Try this, it works for my custom template, you might need to add args to
query_posts
but the key is an offset.and for the pagination: