How To : Show Twitter avatars in your Wordpress Comments

Save to 0 hits!

Wordpress has integerated gravatar support, as a result displays related Gravatar image of a commenter next to his/her comment on a Wordpress powered blog. Smashing Magazine released a new plugin which shows a commenters Twitter avatar in the wordpress comments.As we all know Twitter has become extremely popular across the Web.Ricardo Sousa, who writes for Smashing Magazine created a great plugin called Twittar.

+/- Read More

This plugins loads user’s avatar by matching the email address to the user’s Twitter emailaddress. Here is the best part- if user doesn’t have a Twitter account, it first tries to load user’s gravatar. If user doesn’t have a gravatar, it loads a default image. This is an optional setting.

Steps to follow :

  • First of all you would need to get the required plugin which you can get here

  • Now, install this plugin & activate it.
  • Now, you would need to do little editing with comments file it’s could be either comment.php or comments.php
  • Find the comment loop and paste below code inside it

<?php twittar('45', 'default.png', '#e9e9e9', 'twitavatars', 1, 'G'); ?>

Related Posts :

Do you have any suggestions? Add your comment. Please don't spam!
Subscribe to my feed

Post a Comment

About Me

Latest posts

Blogger Zone