Return to Snippet

Revision: 61296
at December 4, 2012 21:06 by hell0world


Initial Code
function add_nofollow_tag($sLink) {
return str_replace('<a href=', '<a rel="nofollow" href=', $sLink);
}
add_filter('wp_tag_cloud', 'add_nofollow_tag');

Initial URL

                                

Initial Description
Add the following code to functions.php
1: WP backend
2: Appearance -> Editor
3: functions.php

Initial Title
NO Follow Wordpress Tag Cloud

Initial Tags
wordpress

Initial Language
PHP