Here is hook code for wordpress to edit rel attribute of the_category link in wordpress
1 2 3 4 | add_filter( 'the_category' , 'remove_nofollow_cat' ); function remove_nofollow_cat( $text ) { $text = str_replace ( 'rel="nofollow"' , 'rel="follow"' , $text ); return $text ; } |
0 Comments.