Forums

Adding "nofollow" to category widget (2 posts)

  1. lpe04
    Member
    Posted 3 years ago #

    Can someone please explain how to get 'rel="nofollow"' into the "a href" of the category widget output? I have tried the wp_rel_nofollow(} filter but it just puts backslashes everywhere.

    Any idea.
    Thanks.

  2. lynettechandler
    Member
    Posted 3 years ago #

    Hey there, I was searching for the very same thing and found it in this thread.
    http://wordpress.org/support/topic/155935

    Thanks to recordinghacks! One thing that isn't mentioned, the original wp_rel_nofollow() function is found in formatting.php for me I found it between lines 1205 and 1220. Copied that into my functions.php, changed the function name just like recordinghacks did.

Topic Closed

This topic has been closed to new replies.

About this Topic