Support » Plugin: WordTwit Twitter Plugin » [Plugin: WordTwit] Title Bug with Fix

  • mycroft007

    (@mycroft007)


    WordTwit version 2.6.3 makes every “Recent Tweets” titles h2 tags. The better way of setting the titles format is to use the plugin variable $before_title and $after_title.

    Fix: in plugin file twitter.php
    <h2><?php _e( "Recent Tweets", "wordtwit" ); ?></h2>
    change to:

    <?php global $tweets;
    			echo $before_title;
    			if ($title)
    				echo $title;
    			else
    				_e( "Recent Tweets", "wordtwit" );
    			echo $after_title;
    ?>

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

  • The topic ‘[Plugin: WordTwit] Title Bug with Fix’ is closed to new replies.