Show your Latest Tweets & more with the Twitter WordPress Plugin!
The Twitter Feed WordPress Plugin lets you simply output any user’s Tweets into your WordPress blog!
While you’re here, why not also try one of our other WordPress plugins including Facebook Comments!
Please note that this page refers to version 1.0 onwards. To read instructions up to version 0.3, click here

Installation:
- Download the plugin direct from the Plugin Page at WordPress.
- Upload the whole plugin folder to your /wp-content/plugins/ folder.
- Go to the Plugins page and activate the plugin
- Insert the shortcode!
Example Shortcodes:
To insert the Twitter feed, simply enter the following shortcode within a page, post or text widget:
[twitter-feed]
Output Pleer’s latest feed:
[twitter-feed username="PleerSEO"]
Output every mention of Mashable:
[twitter-feed username="mashable" mode="mentions"]
Output every retweet from Matt Cutts:
[twitter-feed username="mattcutts" mode="retweets"]
Output a full public feed of my username – this includes my own feed, mentions of me and my tweets retweeted by others:
[twitter-feed username="alexmoss" mode="public"]
Search for “WordPress Plugin”:
[twitter-feed mode="search" term="WordPress Plugin"]
Output the hastag #Manchester:
[twitter-feed mode="hashtag" hashtag="Manchester"]
Implement Directly into your Theme
To enter the shortcode directly into templates using PHP, enter
echo do_shortcode('[twitter-feed]');
If your Latest Tweets aren’t showing:
I was contacted by a number of people after their upgrade to version 1.0 telling me their issues with their latest tweets not appearing. Version 1.0.1 adds an extra option – other=”yes” – use this as an alternative. This will disable twitter profile images.

Settings:
You have to insert these values to make sure the feed is set up for you:
Option
Default
Options
Comments
username
alexmossSEO
N/A
The chosen Twitter @username
mode
feed
feed
mentions
retweets
public
fav
search
hashtag
feed – outputs the most recent tweets
mentions – outputs everyone’s tweets mentioning @username
retweets – outputs retweets by others mentioning @username
public – outputs latest tweets plus replies/mentions and retweets (basically a merge of feed and mentions mode)
fav – outputs the favourites of @username
search – outputs feed of that search term
hashtag – outputs feed of that hashtag
other
no
yes/no
some people have found that their recent tweets haven’t been showing. using the option other=”yes” renders an alternative source for the tweets. NB – this will disable your profile image from appearing.
term
twitter
If mode is set to search, this is the search term the feed will output.
hashtag
WordPress
If mode is set to hashtag, this is the hashtag term the feed will output.
N.B. Enter the option WITHOUT the hash
num
5
1-60
The number of tweets to display
twitterJS
no
yes/no
enables twitter’s JS for web intent. I have disabled this as default, and would suggest implementing this directly into your theme. However, the option is there!
userintent
yes
yes/no
adds user web intent to author links and avatars. NB twitterJS=”yes” may have to be added to make this work
tweetintent
yes
yes/no
adds web intent to all tweets, which includes retweet, reply and favorite icons. NB twitterJS=”yes” may have to be added to make this work
encoding
no
yes/no
Switch to yes if you’re feed outputs odd HTML characters. This may apply if your tweets are in a language other than English
Options:
There are a few attributes that you can use to change the way the twitter feed outputs within WordPress:
Option
Default
Options/
Examples
Comments
img
yes
yes/no
Displays the username’s avatar/profile image to the left of the tweet
auth
no
yes/no
Displays a link to @username at the beginning of that tweet
anchor
target URL
[LINK]
click here
The anchor text you want to use. As default, the actual URL entered will be output.
followlink
yes
yes/no
Adds a link to the bottom of the feed to the specific feed you have generated
followbutton
yes
yes/no
displays a follow button underneath the twitter feed, and overwrites the followlink option if both are enabled. NB twitterJS=”yes” may have to be added to make this work
followercount
yes
yes/no
shows the number of followers by your @username for the follow button.
lang
en
fr
de
it
ja
ko
ru
es
tr
the language you want the follow button to output. If nothing is entered, English will be output.
fr – French
de – German
it – Italian
ja – Japanese
ko – Korean
ru – Russian
es – Spanish
tr – Turkish
userlinks
yes
yes/no
Inserts a link to any @username who is mentioned in a tweet
hashlinks
yes
yes/no
Inserts a link to any #hashtag that is mentioned in a tweet.
linktotweet
yes
yes/no
If timeline is set to yes, the timeline will link to the specific tweet within twitter.com
linklove
yes
yes/no
Inserts a link to this page. It’s a free plugin so leave it in if you can.
Timeline:
The tweet timeline can be displayed in various ways:
Option
Default
Options/
Examples
Comments
timeline
yes
yes/no
Whether you want the tweet to append xx minutes/hours/days ago from the tweet
conditional
yes
yes/no
Have a choice of xx minutes/hours/days ago or 01 January 2010
phptime
j F Y \a\t h:ia
j f y
The PHP date format to output. More formats can be found
heretprefix
(about
the wording before the numeric timeline.
tsecs
seconds
Inserts the word seconds.
tmin
minute
Inserts the word minute.
tmins
minutes
Inserts the word minutes.
thour
hour
Inserts the word hour.
thours
hours
Inserts the word hours.
tday
day
Inserts the word day.
tdays
days
Inserts the word days.
tsuffix
ago)
the wording after the numeric timeline.
Customisation & Styling:
There are a few attributes that you can use to customise the look and feel of the tweets:
Option
Default
Options/
Examples
Comments
divid
N/A
twitter-feed
If a value is entered, the whole plugin will be surrounded by a DIV with the ID you choose
ulclass
N/A
twitter-updates
The CSS class you want to give to the <ul> the tweets are listed within
liclass
N/A
tweet
The CSS class you want to give to <li> each tweet is listed within. If nothing is entered a default style is used.
imgclass
N/A
tweet
The CSS class you want to give to the avatar images. If nothing is entered a default style is used.
scheme
light/dark
N/A
the colour scheme choice of the follow button
All links use the rel=”external nofollow” tag. You can also download my rel=”external” in a New Window WordPress plugin!

Say Something...