Support » Theme: Kale » Adding previous and next post links in single post

  • Resolved praneethagoutham



    After I categorized some of my blog posts, it is not showing the next and previous posts under each of the single posts.
    It looks like it is only showing the ones in the same category.
    But I want it to simply display it based on the date and not category.
    Is there a way to do this?

    Thank you.

Viewing 1 replies (of 1 total)
  • Theme Author lyrathemes


    @praneethagoutham This would require a slight change to the single.php file.

    Change this

    <div class="previous_post"><?php previous_post_link('%link','%title',true); ?></div>
    <div class="next_post"><?php next_post_link('%link','%title',true); ?></div>

    to this

    <div class="previous_post"><?php previous_post_link('%link','%title'); ?></div>
    <div class="next_post"><?php next_post_link('%link','%title'); ?></div>
Viewing 1 replies (of 1 total)
  • The topic ‘Adding previous and next post links in single post’ is closed to new replies.