Plugin Directory

WP List Tweets

WP List Tweets will quickly display any number of latests Tweets from any user anywhere on the page using either the template tag or shortcode.

Download Version 1.2

WP List Tweets will quickly display any number of latests Tweets from any user anywhere on the page using either the template tag or shortcode.

Displaying your Tweets:

THE SHORTCODE In Posts/Pages with Shortcode (WordPress 2.5+)

[wp_list_tweets user="martythornley" num="5"]

EXAMPLES OF USE:

  • [wp_list_tweets]
  • [wp_list_tweets user="martythornley"]
  • [wp_list_tweets user="martythornley" num="5"]
  • [wp_list_tweets user="martythornley" num="3" id="stuff"]

All attributes are optional and will default to: *user='martythornley' - shameless self promotion :) *num='3' *id will be a running count of the number of times this plugin has been used on a given page unless you give it a specific value.

Using the Template Tag in your theme:

<?php wp_list_tweets ($username, $number, $id); ?>

All attributes are optional:

  • $username: Just the username
  • $number: Number of latest Tweets to display
  • $id: option to add a unique string to the id of the containing ul will default to a running count of the number of times the plugin has been used on any given page.

EXAMPLES OF USE

  • <?php wp_list_tweets(); ?>
  • <?php wp_list_tweets('yourname'); ?>
  • <?php wp_list_tweets('username', '2'); ?>
  • <?php wp_list_tweets('username', '2', 'mycustomID'); ?>

The funtion returns an unordered list of each tweet wrapped like this

  • TWEET GOES HERE
  • TWEET GOES HERE
  • TWEET GOES HERE
Author: martythornley
Tags:

Compatible up to: 2.9.2
Last Updated: 2010-4-10 Downloads: 1,521

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1 100,1,1
0,1,0