Embedding a Twitter Hashtag in a Blog

Twitter no longer supports the method described below - under their new API (May 2013) all widgets must be created via the Twitter website itself in order to work.

Visit http://twitter.com/settings/widgets and follow the instructions to create a new Search widget that returns results for the relevant hashtag.

I think almost every blogger who's also active on Twitter now has their latest tweets embedded into their blog template one way or another - if they want them to be visible there, that is.

But I got to thinking whether there might be a way of embedding a Twitter hashtag in a blog template, so you could filter what appears and let other people's tweets about your blog show up, too.

The answer to the question is, of course, yes. Twitter actually offers a whole range of widgets to achieve that and other similar tasks in a customisable, graphical form. Use the form below for a hashtag widget, or check the full range at http://twitter.com/goodies/widgets.

Embed a Twitter Hashtag in a Blog Template

The below form will generate the code to embed a Twitter search widget - include a hash sign in your search term, and it will track the relevant hashtag. Omit the hash, and the widget will be a free-text search, if that's what you want.

Here's what it should look like:

Fill in the options below - depending on your blogging platform, you may need to add the code in an HTML widget or section, rather than directly into your template code.

(Delete the # for free-text search.)

Header 1:
Header 2:


All tweets at once

Timed interval
How often? (in seconds)


How many tweets to load?
Update as tweets come in?
Allow manual scrolling?
Loop through results?


Top Tweets?

Custom colours:

Use ColorPicker.com to find hex codes

Outer background:
Inner background:
Tweet text:
Header text:
Links color:


(both in pixels)