I have a wordpress network. All the contents in my network are user generated. All posts links are now dofollow. I want to change it to nofollow. My site uses plugin for custom fields. I removed the default description area. So i cannot use the_content function. I use custom fields for all.

I tried many auto nofollow plugins. But its not working in my custom fields. Can anyone help me?

Is there any function code available?

I just want

<a href="http://domain.com">My Link</a>


<a href="http://domain.com" rel="nofollow">My Link</a>


  • What does the output of your custom fields look like?
    – Norcross
    Dec 30, 2011 at 5:20
  • Hey bro, I found a gist here. I think it will work.Let me try Dec 30, 2011 at 5:29

1 Answer 1


Code Available here which is written by chrisguitarguy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.