There's only one post on my main page and I'm trying to link to the previous post in the same category from the main page, but I can only find functions that will work if
is_single is true and I want on what works when
is_home is true.
get_previous_post only works when is_single is true
is there a function that I'm missing? (using version 2.11)