quick fix, wordpress | January 31st, 2013

PLease add this code in function.php file from your active Theme folder

 

function szub_nofollow_tag($text) {
return str_replace(‘<a href=’, ‘<a rel=”nofollow” href=’, $text);
}

add_filter(‘wp_tag_cloud’, ‘szub_nofollow_tag’);   /* Will add no follow in tag Cloud */
add_filter(‘the_tags’, ‘szub_nofollow_tag’); /* Will add no follow in Post Tags */

 

 

 

There are no comments yet, add one below.

Leave a Comment


You must be logged in to post a comment.