Previous and Next post
-
I would like for each entry in my blog to show, in small type on the line below the post, something like:
Previous Post Title << | MAIN | >> Next Post TitleI found a plugin https://www.scriptygoddess.com/archives/2004/07/24/nextprevious-posts-in-same-category/ that I thought would do it, but I cant figure out how to make it work.
The instructions say it has two functions:
previous_cat_post();
next_cat_post();
but if I put them in my index.php file they just printHow do I invoke them to get the string?
It also shows a sample usage to be
previous_cat_post($beforeGroup=’Previous Posts within categories’, $afterGroup=”, $beforeEach=’- ‘, $afterEach=”, $showtitle=false, $textForEach=’Previous post in %’);
but if I put that in index.php it prints as well
- The topic ‘Previous and Next post’ is closed to new replies.