Title: Twivatar
Author: Gary Jones
Published: <strong>May 8, 2011</strong>
Last modified: January 28, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/twivatar.svg)

# Twivatar

 By [Gary Jones](https://profiles.wordpress.org/garyj/)

[Download](https://downloads.wordpress.org/plugin/twivatar.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/twivatar/#description)
 * [Reviews](https://wordpress.org/plugins/twivatar/#reviews)
 *  [Installation](https://wordpress.org/plugins/twivatar/#installation)
 * [Development](https://wordpress.org/plugins/twivatar/#developers)

 [Support](https://wordpress.org/support/plugin/twivatar/)

## Description

Adds twivatar shortcode. When also passed a Twitter handle as the name attribute,
the plugin will get the current avatar from Twitter, and store the URL for 24 hours.
It then echoes out an image.

Attributes (optional unless marked otherwise):

 * `name` – Twitter handle. Required.
 * `size` – One of ‘mini’, ‘normal’ or ‘bigger’ Default is ‘normal’.
 * `link` – Whether to link the image to the profile page on Twitter. Default is
   true.
 * `linkclass` – class attribute value of the link. Default is none.
 * `rel` – rel attribute value of the link. Default is none.
 * `class` – class attribute value of the image. Default is none.
 * `title` – title attribute value of the image. Default is none.

Please report all issue via [https://github.com/GaryJones/twivatar/issues](https://github.com/GaryJones/twivatar/issues).

## Screenshots

 * [[
 * Example of output, as seen at http://bsktweetup.info/

## Installation

 1. Unzip and upload `twivatar` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Where should I report any problems?

Please report all issue via [https://github.com/GaryJones/twivatar/issues](https://github.com/GaryJones/twivatar/issues).

  Can I amend how long the image URL is cached for?

Not yet. In a future version of the plugin, you will be able to. Current default
is 24 hours.

  Can I change the default Twitter image?

Not yet. In a future version of the plugin, you will be able to. Current default
is to use an image file called `no-twitter-image.png` in a folder called `images`
in your active theme.

This image is only used if no image can be determined for the account. Either Twitter
is down, or the account doesn’t exist. If the account does exist, but has no image,
then the default one that Twitter uses will be stored.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Twivatar” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

[Translate “Twivatar” into your language.](https://translate.wordpress.org/projects/wp-plugins/twivatar)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/twivatar/), check out
the [SVN repository](https://plugins.svn.wordpress.org/twivatar/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/twivatar/) by [RSS](https://plugins.trac.wordpress.org/log/twivatar/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Removed array type hint that may not be satisfied in edge cases.
 * Moved main class into its own file.
 * Made the variable that has the instance of the class assigned to it, explicitely
   global.
 * Added .pot file.

#### 1.0.1

 * Tidy up of old code, including improved i18n support.

#### 1.0.0

 * First public version.

## Meta

 *  Version **1.0.2**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.8.0 or higher **
 *  Tested up to **3.5.0**
 * Tags
 * [avatar](https://wordpress.org/plugins/tags/avatar/)[twitter](https://wordpress.org/plugins/tags/twitter/)
 *  [Advanced View](https://wordpress.org/plugins/twivatar/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/twivatar/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/twivatar/reviews/)

## Contributors

 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/twivatar/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://code.garyjones.co.uk/donate/)