Update: since May 2013, the twitter forbids the retrieval and display of tweets in this manner. This plugin is now discontinued. Use their widgets instead.

This free wordpress plugin displays the most recent twitter status updates for a particular hash tag in your posts/pages using shortcode.

Usage

Put this shortcode inside the body of a post, page or custom post type. Change the attribute values (hash = the keyword you want to search for, number= the number of results you want to display).

[twitter_hashtag hash="YOUR_TAG_WITHOUT_THE_#_SIGN" number="NUMBER_OF_TWEETS_TO_GET"]

You can set some options in the Settings / Twitter Hashtag Conversation option menu which would allow you to just insert the twitter conversation stream using those defaults.

Design

Add this css code to your style.css then customize it to suit your needs.


/*--- hashtag_tweets ---*/

.twitter-hash-tag{border:1px solid #EEE;padding:10px;background:#FFF;}
.thts-message a{color:#CC0000;}
.twitter-hash-tag a{border:none !important;}
.twitter-hash-tag div.thts-post{margin-bottom:10px;position:relative !important;min-height:80px;}
.thts-profile{width:70px;display:block;position:absolute;min-height:70px;}
.thts-profile-username{color:black;font-weight:bold; text-transform:capitalize;font-size: 11px;display:block;}
.thts-profile-thumb{max-width:50px !important; margin:0 10px 10px 0;vertical-align: bottom;padding:5px;border:1px solid #EEE !important;background:white!important;}
.thts-message{margin-left:70px !important;vertical-align:top;overflow:hidden;background:#F7F7F7;padding:10px;border-radius:6px;}
.thts-message:hover{background:#F1F1F1;}
.thts-sourcelink{background:#FEFEFE;border:1px solid #EEE;border-radius: 4px; color:#999;padding:3px 5px;float:right;}
.thts-date{color:#bbb;float:right;text-shadow:1px 1px 1px #FFF;font-size:11px;}
#thc_loading{background:#DDD;color:#333;font-size:10px;width:100px;float:right;}

Demo

Feeling generous?

If this plugin served you well, why not send some love back to me? That’s also a nice way to motivate me into adding features you’d need, wink, wink.

Download

You can download the Twitter Hashtag Conversation plugin on the wordpress repository.

Demo

[twitter_hashtag hash=”dwmaj” number=”5″ ]