Removing the post navigation block of links

Note :This snippet works only with the Classical style option. The Classical style option can be enabled in Appearance > Customize > Advanced > Theme Style. More about the theme style option here


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

We can help you to implement this snippet

Coding is our job and we know WordPress inside and out. We can help you to customize your website with small chunks of code snippets like this one.

Send us your request and we'll get back to you quickly.

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.