How to add Twitter ID into Thesis wordpress Theme Comment Form

by Harsh Agrawal on August 22, 2009

in Wordpress Theme

Extending my series of posts on Thesis customization series, In case if you have not got Thesis wordpress theme yet, you can buy it from here. Also read my previous Thesis Theme customization posts :

Twitter is one big promotional tool for bloggers and social media experts. Twitter helps you to drive traffic and more over , your blog is reachable to large audience. With Thesis wordpress theme you can easily add a twitter ID icon in your comment form, which will help you to connect to your your regular commentator on Twitter.

How to add Twitter ID field in Comment form?

To Add Twitted ID Field in your comment form, you need to install WP TwiTip ID plugin. Download, Install and activate the plugin.

To show Twitter ID in your blog comment box, you need to edit your custom_functions.php file under thesis theme folder. You can find it under Thesis>custom folder. Add these lines of code in your custom_functions.php file, Save and upload the file.

function custom_Twitter_ID() {
    if(function_exists(wp_twitip_id_show)) {
        $atf_id= wp_twitip_id_show("return");
        if($atf_id){
        echo '<p>Twitter: <a rel="nofollow" href="http://twitter.com/',$atf_id,'">@',$atf_id,'</a></p>';
        }
    }
}
add_action('thesis_hook_after_comment_meta', 'custom_Twitter_ID');

Twitter Id Wordpress Comment thumb You can also avoid uploading and downloading file all the time for editing thesis theme, by easily using Thesis open hook wordpress plugin.

Recommended Reading for Thesis Lover:

Enter your email address:

Related posts:

  1. Thesis Open Hook Wordpress Plugin : Easily customize Thesis Wordpress Theme
  2. Adding Adsense Into Thesis Wordpress Theme
  3. How to add Digg and Tweetmeme Button In Thesis Wordpress Theme
  4. Customizing Thesis Wordpress Theme 404 Error Pages
  5. How to add Page Navigation To Thesis Wordpress Plugin
  6. Thesis 1.6 Make Thesis customization Easy.
  7. Why I love Thesis wordpress premium theme
  8. Download Thesis 1.6 Wordpress Theme


{ 1 trackback }

Add Twitter Id field to comment form in 5 easy steps | AnimHuT
October 7, 2009 at 19:57

{ 16 comments… read them below or add one }

1 Toan Nguyen Minh August 22, 2009 at 11:21

Wow, great tips for customizing Thesis :D Thanks for sharing!

Reply

2 Sushant August 22, 2009 at 15:29

Is there any other plugin to add twitter id box in non thesis blog. This does not work with the non Thesis theme on my blog.
.-= Sushant ´s last blog ..Yahoo MEME Micro Blogging Social Network | Pictorial Review and Guide =-.

Reply

3 Harsh Agrawal August 23, 2009 at 04:24

This custom code is for Thesis wordpress theme, though you can also use the same plugin for non thesis blog also. Though you need to look into support or installation guide for adding it to Non Thesis blog.

Reply

4 creative copywriting August 22, 2009 at 21:07

Its too coll with these tweaks and even looks alot unique,
Been Watching All Of the thesis tweaks Now i think I must Give It a Try,
.-= creative copywriting ´s last blog ..The Only Purpose of a Business is¦ =-.

Reply

5 Stefan August 22, 2009 at 22:01

Have you seen any advantages of using this? Maybe a raise in followers on Twitter or more comments than usual?
.-= Stefan ´s last blog ..How to Research Valuable Keywords =-.

Reply

6 Harsh Agrawal August 23, 2009 at 04:22

Stefan it works two ways.
1. Reader might love to add his Twitter profile and making his Twitter profile more powerful by giving chance for others to connect with him on Twitter.
2. It helps me to connect with my commentator on Twitter. I might not add evrey one, but once in a while when I see a regular reader and who is commenting all the time, I love to see his tweets on my Twitter time line.

Reply

7 Stefan August 23, 2009 at 23:22

Makes sense. I tried to follow most of my visitors through Twitter but just after passing 50 I found out how difficult it was to read everything. Now I simply skim it through twice a day and tries to read the personal messages instead of all the links.
.-= Stefan ´s last blog ..How to Research Valuable Keywords =-.

Reply

8 Compute Live August 23, 2009 at 01:10

Ohh thats pretty nice…After seeing this on my blogs I was searching for one..Thanks…
.-= Compute Live ´s last blog ..Compute Live is now Do-Follow =-.

Reply

9 Compute Live August 23, 2009 at 01:29

I tried it but its not working for me, maybe you can help me out..:(
.-= Compute Live ´s last blog ..Compute Live is now Do-Follow =-.

Reply

10 Harsh Agrawal August 23, 2009 at 04:17

Could you let me know what problem you are facing? Have you Installed and activated the plugin?
Copy the exact code in your custom functions.php file. Let me know if you face any problem now.

Reply

11 Brian D. Hawkins August 23, 2009 at 07:57

I’m starting to think I’m the only one not using the Thesis WordPress Theme. It sure is a popular choice right now.
.-= Brian D. Hawkins ´s last blog ..Extreme Ezine “ Social Edition | Aug09 =-.

Reply

12 Compute Live August 23, 2009 at 09:23

Yes I have installed and activated the plugin and I have also copied the code exactly..

Here is a screenshot of custom functions.php

http://i31.tinypic.com/20uplkk.png
.-= Compute Live ´s last blog ..Compute Live is now Do-Follow =-.

Reply

13 sriganesh August 23, 2009 at 18:39

hey dude, its cool, but i cant get the plugin. its says 404 errors. can u give it.
.-= sriganesh ´s last undefined ..If you register your site for free at =-.

Reply

14 Christie August 24, 2009 at 22:30

Very cool, Harsh – thanks! I like to follow my regular commentators on Twitter and sometimes their Twitter ID is not the name of their blog so I have to go to their blog and search for it. This will save time and hopefully the commenters might also follow each other if they find someone new in the crowd who looks interesting.
.-= Christie ´s last blog ..MiscBytes unusual niche of the month =-.

Reply

15 Jacob Yap August 26, 2009 at 09:05

Aww, thanks for this tutorial. I have been searching around the web. :)
.-= Jacob Yap ´s last blog ..A Review of the Godlike Thesis Wordpress Theme =-.

Reply

16 Andy January 17, 2010 at 21:30

Thanks a lot for the tip, going to implement it into my upcoming redesign.

Reply

Leave a Comment

Previous post:

Next post: