WordPress.org

Support

Support » Plugins and Hacks » Twitter Widget Pro » [Resolved] Make links No Follow

[Resolved] Make links No Follow

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aaron D. Campbell

    @aaroncampbell

    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' );

    Adam Chahl

    @adamchahl

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

    Appreciate the swift reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Make links No Follow’ is closed to new replies.
Skip to toolbar