Inspiration For Creative Minds
Home » Labs » How to add nofollow to all blogroll in WordPress  

Filed under Labs

By adding below code to your functions.php you can make a nofollow links to your WordPress blogroll bookmarks.

		function no_follow_links( $links ) {
			foreach($links as $link) {
			   $link->link_rel .= ' nofollow';
			   $link->link_rel = trim($link->link_rel);
			   return $links;
		add_filter('get_bookmarks', 'no_follow_links');	
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook

Posts you may like: