Support » Themes and Templates » Remove links to next post or previous post

  • Resolved obulibalaji

    (@obulibalaji)


    Hello, does anyone know how to remove the links to next post and previous post displayed on the page. Your help is much appreciated. Thanks !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Obulibalaji,

    I’m not sure if it’s advisable to remove those links, but an easy way to do so is using CSS. If your theme has a custom CSS editor, you can add a snippet that looks like this:

    .pagination {
     display: none;
    }

    This works in Twenty Fifteen. If you post a link to your theme, it’ll be easier to give you the exact code.

    If your theme doesn’t provide you with a custom CSS editor use a plugin like this one:

    https://wordpress.org/plugins/simple-custom-css/

    This ensures that you won’t lose any of your CSS changes when your theme gets updated.

    I hope this helps 🙂

    – Maria Antonietta

    Thanks Maria ! It worked 😀

    Great, you’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove links to next post or previous post’ is closed to new replies.