Add Twitter ID to Your Comment Field

You’ve perhaps been browsing some blogs (this one has it) that have a comment form with an extra field to enter your Twitter ID.  Twitter has become such a norm that this makes great sense to have.

But did you know that doing so is actually pretty simple?  Seriously, all you need to do is install a plugin on your fitness blog, and then edit your comment.php form (don’t worry!!) inside your Wordpress dashboard.

EFW on Twitter

Trust me, this is so easy and you will love it.  Ready to get started?

First thing you need to do is install the Twitterlink Comments plugin.  If you don’t remember how to install plugins, than see this post – Installing Wordpress Plugins You should see this -

Installing Twitter ID on Fitness Website

The Twitterlink Comments plugin has an option to insert the Twitter ID automatically, which will produce something like this -

Twitterlinks Comments

If you’re happy with the way that looks, than you can just leave it.  However I am more interested in a nice clean look for your fitness website and design.  So why don’t we add that below the website and above the comment box.  How do we do that?

First, check no in the Twitterlink Comments options page to insert automatically.  Then go to Appearance -> Editor and in the top right you need to select the file comments.php

Scroll down or do a CTRL + F search for website.  You should find the following:

<p><input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” tabindex=”3″ /><label for=”url”><?php _e(‘Website’, ‘thesis’); ?></label></p>

After that last </p> (paragraph close) tag, you should enter the following bit of code:

<p><input id=”atf_twitter_id” type=”text” name=”atf_twitter_id” > Twitter ID <br><small>(ID only. No links or “@” symbols)</small>

Click update file and you’re good.  Its that simple really.  Now your comment field should look like –

Twitterlink Comment After Modification

Easy enough right? Let me know how this works out for you, or if you need further explanation in the comment section below.

images from: Animhut

Related Posts with Thumbnails

Leave a Comment

Twitter ID
(ID only. No links or "@" symbols)

Previous post:

Next post: