Twivatar

[imp_desc]

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.

Download

Download from WordPress Plugin Repository: Twivatar v1.0 (183 downloads).

Installation

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

FAQ

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.

Changelog

1.0

  • First public version.

Trackbacks

  1. [...] zeigt das Twitter Profilbild im WordPress Blog an Gary Jones WordPress Plugin Twivatar zeigt über einen Shortcode das Twitter Profilbild im WorPress Blog an. Das Plugin erfordert [...]

  2. [...] Plugin Twivatar von Gary Jones zeigt über einen Shortcode das Twitter Profilbild im WorPress Blog an. Das Plugin [...]

Speak Your Mind

*