>
Download This Plugin | |
Download Elegant Themes | |
Name | Twitter Avatar Reloaded |
Version | 2.0.1 |
Author | Sudar |
Rating | 100 |
Last updated | 2014-07-12 09:03:00 |
Downloads |
9558
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Twitter Avatar Reloaded plugin added 24 bytes of resources to the Home page and 140 bytes of resources to the sample Post page.
Twitter Avatar Reloaded plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Twitter Avatar Reloaded plugin ads no tables to your Wordpress blog database.Twitter avatar reloaded Plugin adds a new field to the comment form to get the user's Twitter username and stores it together with comments and using it replaces gravatar with twitter avatar when the comment is displayed.
This Plugin works seamlessly and you don't need to edit your theme files to add the new field to the comment form. It automatically adds it when activated.
Note: Because of the changes in the way Twitter API works, from v2.0 of the plugin you need to create a twitter app and provide the access key and token. Refer to the installation instructions to find out how to do this
This Plugin provides 7 template functions which you can use in your theme to customize the way the comment author's twitter id/profile should be displayed.
get_comment_author_twitter_id($comment_id)
- Get the Twitter id of the comment authorcomment_author_twitter_id($comment_id)
- Print the Twitter id of the comment authorget_comment_author_twitter_url($comment_id)
- Get the Twitter profile url of the comment authorcomment_author_twitter_url($comment_id)
- Print the Twitter url of the comment authorget_comment_author_twitter_profile_image($comment_id)
- Get the twitter profile image url of the comment authorcomment_author_twitter_profile_image($comment_id)
- Print the twitter profile image url of the comment authorget_twitter_profile_image($twitter_username)
- Get the twitter profile image of a user using twitter idBy default the Plugin uses the class comment-form-twitter
for the new twitter field. You can add CSS to that field or you can change the class in the Plugins setting page.
The development of the Plugin happens over at github. If you want to contribute to the Plugin, fork the project at github and send me a pull request.
If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.
This plugin uses wp-twitter-api by @timwhitlock as the underlying backend to make calls to Twitter.