WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget Pro
[resolved] Make links No Follow (3 posts)

  1. Adam Chahl
    Member
    Posted 1 year ago #

    Hi There,

    Great plugin!

    Is there a way I can make the outgoing links 'No Follow'?

    Cheers,
    Adam

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    You can add nofollow to all links in the Twitter Widget with this code (put it in another plugin, an MU plugin, or your theme's functions.php):

    function range_widget_twitter_no_follow( $attributes ) {
    	$attributes['rel'] = 'nofollow';
    	return $attributes;
    }
    add_filter( 'widget_twitter_link_attributes', 'range_widget_twitter_no_follow' );
  3. Adam Chahl
    Member
    Posted 1 year ago #

    Perfect. I just threw it in the themes functions.php

    Appreciate the swift reply!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.