I would like to set up a single post PER page with a previous post permalink on each page. I don’t have any problem getting one link per page, but previous_post doesn’t work on the home page. I’ve tried a number of queries as well… all to no avail.
The key here is getting the Permalink. I have gotten the Page 2 link, but I don’t want that. I need the permalink for the second page, which is also the second post.
Some template tags work only under certain query-types. next_post() and previous_post() are examples of this, as they only function on single post pages. However, you can reset the WP_Query object’s is_single property to *fool* WordPress into seeing your home page as a single post page (albeit temporarily in the example below) so it will display the previous post link: