Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple recent tweets widget (and shortcode)
PHP
branch: master

This branch is 10 commits ahead of stephenh1988:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
readme.md
wp-recent-tweets.php

readme.md

Description

This is the code from a WPtuts+ tutorial. It is a fork from the author, Stephen Harris.

To use it just add it to your plug-in folder.

Features

  • 'Recent Tweets' widget

  • 'Recent Tweets' shortcode: e.g [wp_recent_tweets screen_name="YOUR_TWITTER_USERNAME" count=5 published_when=1 include_rts=1 ]

The settings for the widget / shortcode are:

  • sreen_name: Twitter screen name

  • count: number of tweets to retrieve

  • published_when: 1| 0 - whether to show when the tweet was published (true =1, false =0)

  • include_rts: 1| 0 - whether to include retweets (true =1, false =0)

Reference:

WPtuts+ "How to Create a Recent Tweets Widget" - http://bit.ly/MezBpc

Something went wrong with that request. Please try again.