Embed latest tweet(s) or a specific tweet in any page, post or text widget and apply your custom styles.
This simple plugin will help you embed tweets into your posts, pages and text widgets and apply your custom styles. Just enter this simple syntax into your post, page or widget content:
Replace "twitter_user" with a Twitter username and "count" with the number of latest tweets to fetch. Example:
Replace "status_id" with a Twitter status id. Example:
Inline tweets are displayed with a set of CSS class attributes that you can customise in your own style sheets. Some basic classes are:
Tweets are contained in a "div" element with a class attribute "inline_tweet". If there is more than one tweet, they are contained in a "li" element with the same class (and an extra class - "inline_tweets_li"). All "li" elements are contained in a "ul" element with a class "inline_tweets_ul". If there were errors, they will be displayed in a "div" element with a class "inline_tweets_error".
If you wish to exclude some information from the display - for example: tweet timestamp - all you have to do is set "display" property to "none" for the class "inline_tweets_timestamp" in your custom style sheet.
Caching will improve performance when fetching tweets and ensure the plugin operates within Twitter API limits. To enable caching, please install W3 Total Cache and enable 'Object Cache' in plugin settings.
Visit the project page to learn more on styling inline tweets.
Miloš Đekić is a software enthusiast from Belgrade, Serbia. He loves to create useful software.