Skip to:
Content
Pages
Categories
Search
Top
Bottom

No follow links code.

  • Avatar of b1gft
    b1gft
    Participant

    @b1gft

    Is there a code I can do to make all links no follow and where do I put the code,
    Thanks

    BP version 1.7
    WP version latest.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    There is no ‘code’ at least not until it’s written, how comfortable are you with client side scripting? Easiest approach is add the attribute using jQuery but you’ll also need some means of adding it to your site either via enqueueing it through functions.php, or – but not a great approach – adding it manually to the head section of your documents through header.php.

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    Depending where the links are being added / submitted, you might also be able to add a filter in your PHP code to strip them out.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.