Display "Previous" & "Next" at bottom of blog posts

So right now at the bottom of the blog post, it just has the name of the next or previous blog post.

Is there a way to make it say “Next” or “Previous” or some sort of indicator? Right now it just looks weird and out of place. If it can’t have an indicator, is there a CSS to remove it altogether?

Hello there,

To accomplish it, try doing these steps please.

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    jQuery(function($) {

      if( $('body').hasClass('single') && $('.post-navigation').length ) {
        var nextText = 'Next';
        var prevText = 'Previous';
        $('.post-navigation .nav-previous a').text(prevText);
        $('.post-navigation .nav-next a').text(nextText);
      }

    });

4 . Update

Regards,
Kharis

1 Like