Vishmax.com
Read

How to add nofollow to all blogroll in WordPress

We design and develop websites, digital experiences, and software solutions for growing businesses.

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

 
<?php
 
		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');	
 
?>