Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How can i add rel="nofollow" to this?

echo " <a href='";
the_permalink();
echo "' >"."(...)"."</a>";
share|improve this question

1 Answer 1

not sure but try this

echo " <a href='";
the_permalink();
echo "' rel='nofollow'>"."(...)"."</a>";

also have a look on this <a href="<?php the_permalink(); ?>" rel="nofollow">(...)</a>

share|improve this answer
    
That's right. I know it's right. –  daviesgeek Nov 30 '11 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.