Connect with us

Plugins

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.

6 Comments

6 Comments

  1. Alex Vazquez

    February 18, 2009 at 1:48 pm

    WOW thanks alot!

    Alex Vazquez´s last blog post..Friday, Feb.27 @ Al Borde Sessions

  2. Eric Barb

    April 18, 2009 at 1:35 pm

    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 😉

    • Austin

      April 18, 2009 at 4:59 pm

      Thanks for the great response. I am glad you were able to get it done easily.

  3. sobakers

    April 30, 2009 at 3:00 am

    plug-in gives out a errore ((((

    • Austin

      April 30, 2009 at 10:21 am

      Can you tell me exactly what the error is?

  4. sürücü kursu

    May 19, 2009 at 12:00 pm

    thank you..

You must be logged in to post a comment Login

Random Search Terms

Title

Top Articles

Top Searches

powered by WassUp

Recent Posts: Fully Net Worth . com

Daequan Loco Net Worth: How Rich is the Streamer Actually?

Daequan Loco Net Worth: How Rich is the Streamer Actually?

Daequan Loco is an American Twitch streamer as well as a Youtuber. Through his expertise in playing the game Fortnite, Loco has been able to establish a large following on Twitch with him currently having over 3.7 million followers on the platform. Moreover, he also plays the games Battlefield V, Maplestory 2, Earthfall, Overwatch, Outlast, […]

Michael Sterling Net Worth: 5 Facts You Need To Know

Michael Sterling Net Worth: 5 Facts You Need To Know

Michael T. Sterling is a professional lawyer who is best known to the public as the husband of actress, model, and television personality Eva Marcille. She has risen to popularity after winning season three of America’s Next Top Model. Here are five interesting facts about Michael Sterling including his personal life, net worth, wife, and […]

Lil Uzi Vert Net Worth: Know Everything About Him.

Lil Uzi Vert Net Worth: Know Everything About Him.

Lil Uzi Vert Net Worth: Know Everything About Him. If you are into hardcore rapping, then you must have heard about Lil Uzi Vert. He is an American rapper and songwriter who rose to fame after his hit single ‘Bad and Boujee’ that ranked number 1 on the US Billboard Hot 100. Lil Uzi was […]

%d bloggers like this: