Twitter Feed comes with 3 different shortcodes, which can be used anywhere in the blog. Shortcodes can be easily inserted into any post using the shortcode editor, which is implemented straight into WordPress’ visual editor.

The following is a reference to the shortcode’s structure and acceptable attributes.

Static Tweets Shortcode

The static tweets shortcode generates a list of tweets that are displayed statically. The following table lists the attributes that are available for the static tweets shortcode.

[statictweets skin="" resource="" user="" list="" query="" id="" count="" ajax="" retweets="" replies="" show=""/]
Shortcode Structure
Tag Name statictweets
Self-enclosing true
Available Attributes
skin One of default, simplistic, futuristic, talk-bubble
resource One of hometimeline, usertimeline, retweetsofme,search, list, mentions, favorites, single
user A string representing the Twitter username
list If the resource type was specified as “list”, this would be the name of the list.
query If the resource type was specified as “search”, this would be the search query. For query syntax, read The Search API
id If the resource type was specified as “single”, this would be the tweet ID.
count The number of tweets you would like to be shown
ajax Set to “on” if you would like to have a “Load More” button for loading additional tweets via AJAX.
retweets Set to “on” if you would like retweets to be included
replies Set to “on” if you would like replies to be included
show A comma delimited list of the tweet assets you would like to be shown. Available assets are:

  • username
  • screenname
  • avatar
  • time
  • actions
  • media

Scrolling Tweets Shortcode

The static scrolling shortcode generates a list of tweets that are scrolled from right to left if the content of the tweet extends outside the object’s width. The following table lists the attributes that are available for the scrolling tweets shortcode.

[scrollingtweets scroll_time="" skin="" resource="" user="" list="" query="" id="" count="" retweets="" replies=""/]
Shortcode Structure
Tag Name scrollingtweets
Self-enclosing true
Available Attributes
scroll_time An integer representing the duration of each slide
skin One of default, led-screen
resource One of hometimeline, usertimeline, retweetsofme,search, list, mentions, favorites, single
user A string representing the Twitter username
list If the resource type was specified as “list”, this would be the name of the list.
query If the resource type was specified as “search”, this would be the search query. For query syntax, read The Search API
id If the resource type was specified as “single”, this would be the tweet ID.
count The number of tweets you would like to be shown
retweets Set to “on” if you would like retweets to be included
replies Set to “on” if you would like replies to be included

Sliding Tweets Shortcode

The sliding tweets shortcode generates a slider in which each tweet is a slide. The following table lists the attributes that are available for the sliding tweets shortcode.

[slidingtweets slide_dir="" slide_duration="" skin="" resource="" user="" list="" query="" id="" count="" retweets="" replies="" show=""/]
Shortcode Structure
Tag Name slidingtweets
Self-enclosing true
Available Attributes
slide_dir The direction of the transition between slides. One of up,down,left,right or random
slide_duration An integer representing the duration of each slide
skin One of default, led-screen
resource One of hometimeline, usertimeline, retweetsofme,search, list, mentions, favorites, single
user A string representing the Twitter username
list If the resource type was specified as “list”, this would be the name of the list.
query If the resource type was specified as “search”, this would be the search query. For query syntax, read The Search API
id If the resource type was specified as “single”, this would be the tweet ID.
count The number of tweets you would like to be shown
retweets Set to “on” if you would like retweets to be included
replies Set to “on” if you would like replies to be included
show A comma delimited list of the tweet assets you would like to be shown. Available assets are:

  • username
  • screenname
  • avatar
  • time
  • actions
  • media

Spread the word about Twitter Feed!