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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full 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

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.