Categories: PluginsTips & Tricks

Add the twittar plugin for WordPress w/ comment threading

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.

Web Master

Hi, I am Miguel, I bought this site in 2009. So I now run or manage the site. Please visit my new website or follow me on twitter @W3i.

View Comments

Recent Posts

What to Consider When Choosing a WordPress Theme for Your Business

If you've started looking for themes for your business site, you will understand that there…

3 hours ago

How to: show/hide a widget in WordPress with jQuery

In a previous post I talked about how to show/hide a single div html code…

15 hours ago

Data Center Intrusions: No Sign of Improvement

Data Breach Infographic developed by LifeLock.com

1 day ago

Reasons to Switch to a Virtual Office

According to a recent study conducted by Stanford University, about 10 percent of the United…

2 days ago

The Problem with Plugins

I'm sure that you don't need me to tell you that WordPress is huge. Let's…

2 days ago

Search Marketing Snapshot 2013

These days almost every business is aware of the importance of a strong internet presence,…

3 days ago