Removing the post navigation block of links

Note :This snippet works only with the Classical style option. More about the theme style option here

Note: This snippet is not needed anymore, just go through Appearance -> Customize -> Main content -> Post/Page Navigation and set up the navigation block visibility to suit your needs 😉


In case you need to get rid of the post navigation block of links at the bottom of a single post, here’s a quick line of code to do it.


Where to copy/paste this code? => in your functions.php file. The best way to customize a theme in WordPress is to create a child theme. Everything you need to know about child theme creation in Customizr here



I hope this will help and look forward to reading your thoughts and your code if you find other ways to do that.

Related Snippets you may also like

6 thoughts on “Removing the post navigation block of links

  • Menaka S

    Change it to this. Please note the small change from TC_ to CZR_ in the penultimate line.

  • cylim

    This code breaks the theme (returned Internal Server Error) in Version: 3.4.33, works fine before upgrade. Any solutions?

  • Mathew Porter

    You may need to update the function name to correspond with your theme’s post navigation name space.

  • Mike Parker

    Hello Nicolas
    Thanks for the great work on customizr. I have a question on this. I added the above code snippet to the custom CSS
    block. But no change in the post navigation at the bottom of the post. Should I make the change somewhere else ?
    Thanks mike

Comments are closed.