Posted By

hell0world on 12/04/12


Tagged

wordpress tag nofollow


Versions (?)

NO Follow Wordpress Tag Cloud


 / Published in: PHP
 

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

  1. function add_nofollow_tag($sLink) {
  2. return str_replace('<a href=', '<a rel="nofollow" href=', $sLink);
  3. }
  4. add_filter('wp_tag_cloud', 'add_nofollow_tag');

Report this snippet  

You need to login to post a comment.