- Upload 'tweetrix.php' to the '/wp-content/plugins/' directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Configure the widget in the widget section.
To use as a plugin in your theme, include the following:
output(); ?>
Where $params is an associative array containing any of the following keys (descriptions and default values listed):
- user - the username (twitterapi)
- nTweets - the number of tweets to include (200)
- minRepetitions - the minimum number of occurrences for a word (1)
- minWordLength - the minimum length of a word (3)
- wordFilter - the word filter
- minFontSize = the minimum font size (.8)
- maxFontSize = the maximum font size (3)
- deltaSize = the change in size per occurrence (.2)
- fontUnits = the font units em/px/pt (em)
- filterUsernames = filter out @usernames? (true)
- filterURLs = filter out urls? (true)
- filterNumbers = filter out numerals? (true)
- divid = the id of the div (tweetrix)