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

WP SITES

2468

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Subscribe
  • Register
  • Videos
  • Log in

Need Help? - Get Coding Support Now

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 :

Click here to get full access to all tutorials

Pagination

Primary Sidebar

Recently Coded

  • Infinity Pro – Change Team Page From 4 To 3 Columns
  • Infinity Pro Vertical Menu
  • Genesis Sample Theme – Custom Archive Page Template With Different Hero Images
  • Foodie Pro – Reposition Search Box Before Nav Menu
  • Showcase Pro – Use Custom Image As Single Post Entry Header Background

Brad Dalton Specializes In Genesis child theme customization & code modification.

Advertise · WPEngine · Genesis · Log in

  • Membership
  • by Theme
  • Contact
  • RSS
  • Newsletter ( Twice Weekly )