Nofollow Wordpress Comment Links


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* NO FOLLOW COMMENT LINKS */
  2.  
  3. <?php function add_nofollow_to_comments_popup_link(){
  4. return ' rel="nofollow" ';}
  5. add_filter( 'comments_popup_link_attributes', 'add_nofollow_to_comments_popup_link' ); ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.