Twitter for WordPress displays yours latest tweets in your WordPress blog.
Features
- Simply
- Customizable
- Widget ready
- Uses WordPress resources (no extra files needed)
- No options page (yes, it’s a feature)
- Detects URLs, e-mail address and @username replies
- Multiple widgets (Thanks to Michael Feichtinger)
Installation
Drop the twitter-for-wordpress folder into /wp-content/plugins/ and activate the plug in.
Usage
If you use WordPress widgets, just drag the widget into your sidebar and configure.
If widgets aren’t your thing, use the following code to display your public Twitter messages:
twitter_messages('username');
Note: Your tweets must be unprotected (i.e. in the public timeline)
Twitter for WordPress also has several configurable options. Here’s what you can configure:
twitter_messages('username', [msgs], [list], [timestamp], ['link'], [hyperlinks], [twitter_users], [encode_utf8]);
- username: your twitter username
- msgs: number of tweets to show (max. 20, limited by Twitter)
- list: show tweets in a unordered list
- timestamp: show a relative timestamp
- linked: the link options
- ‘all’: puts a link to the tweet status in all the tweet (the old-school way). This option disables the link discover features.
- false or ”: no link at all to the tweet status
- true or ‘something’: enable the link to the tweet status. You can customize the text.
- hyperlinks: show URLs as clickable links
- twitter_users: show @username replies as clickable links
- encode_utf8:turn it on if you have encoding problems
Only username is required. The other parameters will take this default values:
twitter_messages('', 1, false, true, '#', true, true, false);
This is: 1 tweet, not in a list, with timestamps, with a # link to each tweet, with URLs and @username replies displayed as clickable links.
So, if I wanted to show my last 3 messages, not in a list, with timestamps, with a Go link, no links and encode_utf8, I would use the following:
twitter_messages('username', 3, false, true, 'Go', false, false, true);
Customization
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
Live Demo
twitter_messages('twittvigo', 5, true, true, '>>', true, true, false);
>’, true, true, false); ?>
Download
Mods
- Twinkle + Twitter by Michael Tyson. Adds Twinkle image support.
Version History
1.9.7 – 2009/08/27
- Link discover regexp bug fixed (thanks to Webmancers)
1.9.6 – 2009/07/10
- Improved link discover regexp (thanks to Allen Shaw)
1.9.5 – 2009/07/07
- Several undocumented changes (mostly bugs acrosss different WordPress versions)
- Added #trendingtopics link support (thanks to Michael Voigt)
1.9 – 2008/04/08
- Now using human_time_diff() instead own function: better performance, less code and automagically i18n!
1.8.2 – 2008/04/01
- I messed it up the encoding. Now works.
1.8 – 2008/03/31
- Added encode_utf8 option in order to (hopefully) fix the encoding issues.
1.7 – 2008/01/03
- Multi-Widget Feature. Thanks to Michael Feichtinger
1.6.1 – 2007/12/27
- Due Hanok‘s request, added a linked option to make all tweet a link to the tweet status.
1.6 – 2007/12/27
- Now the plugin also detects the @username replies and automagically transform them in links to the username twitter page.
- Better URL discover method.
1.5 – 2007/12/26
- Modified the linked option to make it more flexible and configurable. Now the link is at the tweet’s end, and you can configure it (even not display it).
1.4 – 2007/12/24
- Added ‘hyperlink recognizer’.
1.3.2 – 2007/09/08
- Fixed some HTML encoding issues. Props to Dave.
1.3.1 – 2007/08/22
- Better feed handling. Now only the username is required.
1.3 – 2007/08/22
- New relative date function
1.2 – 2007/08/21
- Rearranged CSS classes
1.1.2 – 2007/08/20
- Fixed a widget typo
1.1.1 – 2007/08/16
- Fixed widgets bug and added widget options (Thanks to Neil MacLean)
1.1 – 2007/08/15
- Added the link option (suggested by manuls)
1.0 – 2007/08/12
- Initial Release
Credits
- Ronald Heft – The plugin is highly based in his Pownce for WordPress, so the major part of the credits goes to him.
- Michael Feichtinger – Contributed the multi-widget feature code
Contact
Suggestion, fixes, rants, congratulations, gifts et al to rick[at]jinlabs.com or by my contact page.
Code
Maybe you could be interested in my other plugins: Code
691 replies on “Twitter for WordPress”
[…] Twitter for WordPress […]
[…] Éste es el plug-in que yo utilizo para mostrar Twitter en WordPress: http://rick.jinlabs.com/code/twitter/ […]
[…] For more info (options, customization, etc.) visit the plugin homepage. […]
[…] gerçekten süper bir eklenti buldum. Helal olsun da dedim yapana. Öncelikle eklentiyi indirin. Orjinal kaynak, 3k3r.net […]
[…] meine Twitter-Update auf meinem Blog anzuzeigen nutze ich das WordPress-Plugin “Twitter for WordPress” und auf dem anderen Wege publiziere ich meinen neuen Blog-Einträge auf meiner Twitter-Seite […]
[…] twitter for wordpress widget, which shows my twitter entries right away on my blog, so you can actually track me on the go […]
[…] Twitter for WordPress Bindet meine letzten Einträge von Twitter in die Sidebar ein. Quasi für den Mini-Blog im Haupt-Blog. Im Grunde aber eher sinnlos. Plugin-Website […]
[…] – I installed WordPress and the following plugins: Google Analytics and SEO Optimization and a Twitter widget. To go with this I had to sign up for a google account and had to check the Google developer […]
[…] Twitter for WordPress […]
[…] Twitter for WordPress […]
[…] Twitter for WordPress twitterから、色々引けるようになるらしいけど、とりあえず僕はウィジェットに自分のpostを表示するのに使って見ている。もうすこしグラフィカルなのがあったらそっちに乗り換える予定。 Sociable – Social Bookmarking for WordPress usで使われている多分ほとんどのSBMに対応している。アイコン押すとブックマークできるようになると。僕は自分で使う事がある、digg, delicious, facebook, google, twitterのアイコンを各エントリーの最後に表示させているのに使っている。 […]
[…] a cool image showing your Twitter details and latest tweet in your blog sidebar. Or use the Twitter for WordPress plugin to display your latest tweets on your […]
[…] Twitter for WordPress – Twitter for WordPress displays yours latest tweets in your WordPress blog. VN:F [1.0.8_357]please wait…Rating: 0.0/5 (0 votes cast) […]
[…] Twitter for WordPress – Twitter for WordPress displays yours latest tweets in your WordPress blog […]
[…] Twitter for WordPress ermöglicht das Anzeigen meiner letzten Twits in der rechten Spalte. (Was ist Twitter?) […]
[…] Ricardo González – Ein Twitter Widget, einfach und dennoch einige Einstellungsmöglichkeiten. […]
[…] http://rick.jinlabs.com/code/twitter/ […]
[…] Twitter for WordPress – sucks in recent Twitter posts from any username and puts them in my sidebar. […]
[…] Twitter for WordPress – Twitter for WordPress displays yours latest tweets in your WordPress blog […]
[…] “ทวิตเตอร์ของฉัน” จาก Plugin Twitter for WordPress […]
[…] Twitter for WordPress – Features: […]
[…] Twitter for WordPress – Simple plugin that also “pulls in” your tweets using a sidebar widget. Very easy to use; in […]
[…] can add to your WordPress blog free. I use quite a few different plugins on this blog including Twitter for WordPress, WP-Polls, and GoCodes just to name a few. For the most part my active plugins are all to help my […]
[…] nutze dazu das Plug-In Twitter for WordPress man kann einige Dinge einstellen und das geht ganz einfach im […]
[…] Nu har jeg lige smidt et feed fra Twitter ind her på bloggen, med wordpress pugin’et “Twitter for Wordprees” […]
[…] Suche nach einen Plugin für Twitter gemacht. Nach kurzer Suche stieß ich auf das Plugin “Twitter for WordPress” das es ermöglicht alle Twitter-Nachrichten anzuzeigen. (WordPress Plugin […]
[…] a cool image showing your Twitter details and latest tweet in your blog sidebar. Or use the Twitter for WordPress plugin to display your latest tweets on your […]
[…] · Reply · View routerguy: @drewbenz I’m using this wordpress plugin: http://rick.jinlabs.com/code/twitter/ seems to work fine. 2009-01-26 00:17:56 · Reply · View maggie1000: @bdeshong Will […]
[…] Twitter for WordPress – I have a twitter feed but I haven’t used it in a long time. I’m looking for something that will allow me to combine my Facebook and Twitter into one thing that I can also display here. I thought WordBook might do the trick, but this server isn’t running the right version of PHP. […]
[…] the help of a little piece of code we call the plugin. I’m currently using the aptly named Twitter for WordPress plugin. Installation is quick and customizing it is even faster. There’s not much more you […]
[…] · View Hexane: Now this turned out to be a pretty useful wordpress plugin! Check out: http://rick.jinlabs.com/code/twitter/. 2009-01-28 04:43:08 · Reply · View ctcrowell: O’ WordPress people, can […]
[…] Twitter for WordPress – Simple plugin that also “pulls in” your tweets using a sidebar widget. Very easy to use; in fact, this is what I’m currently using on http://www.deontee.com. […]
[…] Twitter For WordPress: Displays your public Twitter messages for all to read. […]
[…] I have released a new WordPress theme over at Six Revisions titled ‘Annexation’ under the GNU General Public License. This theme, like Absynthe, also utilizes the Last.fm plug-in by Jeroen Smeetsand the Twitter for WordPress plugin by Ricardo Gonzalez. […]
[…] I will show you have to integrate the Twitter for WordPress plugin by Ricardo González into your WordPress blog’s design. This plugin will enabled you […]
[…] Twitter for WordPress version 1.9.2 […]
[…] Twitter for WordPress Simply shows X number of twitter updates anywhere on your site. […]
[…] … Twitter for WordPress displays yours latest tweets in your WordPress blog. …..read more Download Plugin! Version 1.9.2 Last Updated: December 12, 2008 […]
[…] plugin from Rick González is an excellent replacement. It is easy to style plus it displays a permalink […]
[…] Twitter for WordPress: shows your latest tweets on your blog. […]
[…] der Sidebar habe ich ein Plugin mit meinen aktuellsten Tweets eingebaut. Das Plugin Twitter für WordPress funktioniert sehr einfach und ist schnell […]
[…] […]
[…] in einen Blog einfließen zu lassen. Die geht beispielsweise mit Twitter for WordPress von http://rick.jinlabs.com/code/twitter/ . Wenn man also nicht zum Bloggen kommt, dann kann man seine Twitter-Beiträge automatisch in die […]
[…] Twitter für WordPress, ähnlich wie
[…] eklentiyi indirin. Orjinal kaynak, 3k3r.net […]
[…] Twitter for WordPress […]
[…] Twitter for WordPress […]
[…] with facebook, and this was a bit more difficult. First I installed another WordPress plugin called Twitter For WordPress. This allowed my to set up a sidebar widget that would automatically get updated with a short […]
[…] habe mir auch schon ein nettes Plugin eingebaut: Twitter for WordPress von Ricardo González. Ich muss es noch ein wenig anpassen, der Link kommt aus dem Titel raus und […]
[…] Twitter For WordPress – Compatible 2.1 – […]