I was really hoping to get some insight on how to do this.
I’m trying to accomplish something very similar, and I’m also not having any luck. I get an error page as well.
I’ve tried the various “previous post” php solutions, but to no avail.
(I’m hoping by posting this, it’ll get brought back to the foreground, and someone will know how to make this work…)
Ha! Just found the solution. Well, sort of.
It doesn’t work on the category page, but it works on the post page, allowing you to navigate to the previous post directly.
‘<?php previous_post_link(‘« %link’, ‘Previous post in category: %title’, TRUE); ?>
<?php next_post_link(‘%link »’, ‘Next post in category: %title’, TRUE); ?>’
All thanks to ScriptyGoddess; it’s her code. Hope it does the trick for you.
- The topic ‘Previous Link Doesn’t Work for Category with One Post’ is closed to new replies.