Like the blog? Get the book »

Previous Post Link on index.php

Jack Osborne emailed me with a question. His blog layout shows single posts at a time, with a set of arrows to navigate forward and backward in time. This works great on the single.php page where you can use next_post_link() and prev_post_link(), but those don't work on the index.php file.

Jack wrote up the solution I sent him.

Advertise Here

Sign up for the newsletter!

Never spam, only good stuff

Recent posts

Loading...

Random posts

Loading...
© 2009–2017 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace