I talked about the Twittar plugin in a previous post. But learned that the read me text file was only useful for installing the necessary php
code into WordPress themes that don’t have comment threading enabled.
Since most new themes past version 2.7, pull the comments section from functions.php
file, that is where you have to edit the avatars in order to show the twittar settings.
First open you functions.php
, and look for a line of code that says:
function custom_comment()
This is where your new comments are pulled from when you have the threaded comments enabled.
Now just find <?php echo get_avatar( $comment, $args['avatar_size'] ); ?>
& replace with <?php twittar(70, "", "", "avatar avatar-70 photo", 1, "R"); ?>
. Keep in mind that you will need to edit the Twittar setting to fit your site.
WordPress has emerged as not only a leading blogging platform but also a content management…
Properly configured, Wordpress can be an extremely effective way of designing, maintaining and managing your…
WordPress 2.7 Beta 3 has been released for your testing pleasure. Here are some of…
This little trick is really simple and easy. All you need to do is plug…
This powerful plugin is a must-have for WordPress users. With WP-DBManager you can manage your…
View Comments
WOW thanks alot!
Alex Vazquez´s last blog post..Friday, Feb.27 @ Al Borde Sessions
Wow is right. I was totally confused about how I was going to get this working on my site not know much about php. By following these steps I was able to set it up in minutes. You just earned a cult member ;-)
Thanks for the great response. I am glad you were able to get it done easily.
plug-in gives out a errore ((((
Can you tell me exactly what the error is?
thank you..