• Resolved jacobp

    (@jacobp)


    Hi –

    Very nice plugin. I noticed that the widget is missing the ending </div> in the follow-button code. Here is a patch:

    --- rotatingtweets.php  2012-05-29 22:30:19.427190853 -0600
    +++ rotatingtweets-jacobp.php   2012-05-29 22:29:41.132278958 -0600
    @@ -244,7 +244,7 @@
            endforeach;^M
            $result .= "</div>\n";^M
            if($show_follow==TRUE):^M
    -               $result .= "<div class='follow-button'><a href='http://twitter.com/".$user->screen_name."' class='twitter-follow-button' title='Follow @".$user->screen_name."'>@".$user->screen_name."</a>";^M
    +               $result .= "<div class='follow-button'><a href='http://twitter.com/".$user->screen_name."' class='twitter-follow-button' title='Follow @".$user->screen_name."'>@".$user->screen_name."</a></div>";^M
                    $script = 'http://platform.twitter.com/widgets.js';^M
                    wp_enqueue_script( 'twitter-wjs', $script, FALSE, FALSE, TRUE );^M
            endif;^M

    http://wordpress.org/extend/plugins/rotatingtweets/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Rotating Tweets widget and shortcode] Widget Missing follow-button ending’ is closed to new replies.