Remove Post/Page Navigation (CSS)


Note : the following code snippet requires advanced WordPress developer skills. There's no guarantee that this snippet works as is with the latest version of our themes, and with the latest version of WordPress. That's why you need to always test any code snippets in a staging environment before implementing it in a production site.


Last Reviewed: 8-May-15 (3.3.23) 3.1.* 3.2.* 3.3.*

Where to copy/paste this code?
The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.


Related Snippets you may also like


12 thoughts on “Remove Post/Page Navigation (CSS)

  • Anna

    hello I would like to know how to change the text.
    to display “next post” and “prev post” instead of the titles of the articles.
    I hope you’ll help me
    thanks

  • Michael LaSalle

    Hi Dave, brilliant work,
    how do you change the color of the border for the post navigation button?
    Thanks for any reply

    • Dave Bardell Post author

      I presume you mean the Older/Newer Posts button? Change the border element:

    • Dave Bardell Post author

      Try adding .home eg .home .pager.

      If that doesn’t work, I’d suggest the Forum would be a better place to get a solution for this, with a much wider audience to help fix problems. And please include a link to your Site.

  • ruddee Go

    sorry dave to prev comment, i missed assistive-text class while copy paste. Its working. But i wanna know how to change post navigation to some-else like in your site its “Post snippets”.

  • ruddee Go

    hi dave, upon above css its remove prev & next hyperlink on all pages; but still that post navigation text label appears. how to remove it? i wanna customize it “post navigation” how to do that? thnkz for such a awesme script 🙂

Comments are closed.