This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Twitter for WordPress Extended


Twitter for WordPress displays yours tweets, your friends timeline, a Twitter search result or the current twitter trends in your WordPress blog. This is done by using the built in widget or by using PHP functions in your theme.


* Simply
* Customizable
* Widget support
* No options page (yes, its a feature)
* Uses WordPress resources (no extra files needed)
* Detects URLs, e-mail address and @username replies


If you use WordPress widgets, just drag the widget into your sidebar and configure. If widgets are not your thing, use the following php code to display Twitter messages:

<?php twitter_messages("username"); ?>

If you want to display tweets to a special search result, use the following code:

<?php twitter_searchstring("#twitaly"); ?>

If you want to display the tweets of your friends timeline, use this:

<?php twitter_friends( "username", "password" ); ?>

If you want to display the current twitter trends, use that snippet:

<?php twitter_trends(); ?>


The plug in provides the following CSS classes:

* ul.twitter: the main ul (if list is activated)
* li.twitter-item: the ul items (if list is activated)
* p.twitter-message: each one of the paragraphs (if msgs > 1)
* .twitter-timestamp: the timestamp span class
* a.twitter-link: the tweet link class
* a.twitter-user: the @username reply link class
* li.twitter-item img: format the avatar icon on search results


Ricardo Gonz├ílez – The plugin is highly based on the plugin “Twitter for WordPress”, so the major part of the credits goes to him.

I only added three functions for getting the public timeline, tweets for a search query and the current twitter trends.


Problems? Suggestions? Anything else? Contact me: m_schieferdecker[at] |


Drop “twitter-for-wordpress-extended” folder (or even twitter_extended.php) into /wp-content/plugins/ and activate the plug in the WordPress admin area.

If you use the “Twitter for WordPress” plugin please deactivate it before activating “Twitter for WordPress Extended”. The extended plugin is designed to replace the original.

Contributors & Developers

“Twitter for WordPress Extended” is open source software. The following people have contributed to this plugin.