Was trying to add the tweetback plugin to my thesis themed blog recently and found out that the tweets doesn’t appear automatically as comments if you just enable the plugin. Some searching around didn’t help much either. Here is a step by step account on what worked for me.

Download and Install TweetBacks Plugin
You can just search for the term “tweetback” on your WordPress plugin installer or go to Yoast

Activate and Configure TweetBacks
Activate the plugin and do the basic configuration available, including update frequency, list of exclusions, etc.

Edit comments.php
Go to Appearance > Editor in your admin area and edt comments.php.

Find the line of code below

if ($comment->comment_type == 'trackback' || $comment->comment_type == 'pingback')

And replace it with the below code

if ($comment->comment_type == 'trackback' || $comment->comment_type == 'pingback' || $comment->comment_type == 'tweetback')

You’re all set! The tweets will now appear as trackbacks.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2012 code.Snip Suffusion theme by Sayontan Sinha