AbstractBrain Answers About us

How to remove the previous / next post links in Wordpress?

Question

How can I remove the previous / next post links in Wordpress?

Wordpress automatically adds a “Previous post” link and a “Next post” link below each post.

I don’t need them and I find them confusing.

Is there any way to remove them?

Answer

Wordpress automatically adds a “Previous post” link and a “Next post” link below each post, however you can easily remove it if you want.

Click Customize on your theme or in the top navigation and then click Additional CSS. Add the following code:

.post-navigation .nav-links {
  display: none;
}

A better alternative to “Previous / Next post” is to display “Related posts”. There are many plugins that you can use in order to display related posts by keywords or categories.