WordPress.org

Ready to get started?Download WordPress

Forums

WordTwit Twitter Plugin
[Plugin: WordTwit] Title Bug with Fix (1 post)

  1. mycroft007
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags