• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2752

Original WordPress Tutorials & 6000+ Guaranteed Code

Snippets

  • Videos
  • Premium Access
  • Log in

Add No Follow To Next & Previous Post Links

These code snippets, once added to your child themes functions file, enable you to add rel="nofollow" to the single post navigation links in Genesis or any other theme.

Here is the default HTML output you can view in the source code when inspecting each previous & next post link :

Here’s the output after using the code to add rel="nofollow" :

You’ll find the original functions for previous & next post links in link-template.php of wordpress.

Register or login to access the code snippets :

Register for full access

Pagination

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Advertise · WPEngine · Genesis · Log in

  • Access/Download Problems
  • Account Details
 

Loading Comments...
 

You must be logged in to post a comment.