Make Tags Link NoFollow on WordPress

To make the links nofollow tag, you do not need the help of plugin. Use this simple code in which you want to display tags.


Tags :
<?php
$posttags = get_the_tags();
$count=0;
if ($posttags) {
foreach($posttags as $tag) {
$count++;
echo '<a href="'.get_tag_link($tag->term_id).'" rel="noffolow">'.$tag->name.'</a>, ';
if( $count >5 ) break;
}
}
?>

5 number of tag that you want to display.

Other alternative to make tag cloud nofollow

4 Comments

  1. obat tradisional diabetes melitus
    Feb 19th, 2011 2:01 am

    oh ya bgs jg infonya sy ucapin trimaksh bnyk.

  2. obat tradisional kanker hati
    Feb 22nd, 2011 4:09 am

    wah bgs jg

  3. Android Applications
    Jan 16th, 2012 8:33 am

    Great goods from you, man. Make Tags Link NoFollow on WordPress I have understand your stuff previous to and you are just extremely wonderful. I really like what you’ve acquired here, certainly like what you’re stating and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I cant wait to read far more from you. This is actually a wonderful Make Tags Link NoFollow on WordPress informations.

  4. Tabib Riziq
    Apr 5th, 2012 12:30 pm

    menarik juga. pasti ada yg lebih terbaru lagi. keluarin semua dong. dan pastinya sehat itu mahal banget ya

Leave a Reply

Your email address will not be published. Required fields are marked *