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 :

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.