This code snippet can be added either as part of a wordpress plugin or part of a wordpress theme to set all the blogroll links to have the nofollow attribute (useful if you have a lot of websites linking back to other sites in your collection).
// add nofollow to all blog links add_filter( 'get_bookmarks', 'mb_links_get_bookmarks', 10, 2 ); function mb_links_get_bookmarks($links, $args) { if (is_array($links)) { foreach (array_keys($links) as $i) { $links[$i]->link_rel .= ' nofollow'; $links[$i]->link_rel = trim($links[$i]->link_rel); } } return $links; }