A user configurable plugin for blog owners that will add an extra field to the comment form allowing users who comment to add their Twitter username and then display it along with the comment, all without editing a single template file or function call.
Download TwitterLink Comments
(or use the plugin browser in your dashboard to search for TwitterLink-Comments
How It Works
You have a choice of adding the field to the comments.php template or let the plugin do it automatically for you along with a message that you can configure in the settings page. The comment author only needs to put in their Twitter username once and every comment from them on the whole site will display a link to follow them.

The field description, link position, format and action can be configured by the blog owner in the settings page including any extra html, classes and text that they desire.
Features
- Completely automatic, no configuring required.
- Any HTML is filtered through kses using a custom array of allowed tags.
- Set the link as nofollow and open in a new window
- Fully compatible with Mu and Multi-db plugin.
- Twitter link is shown on all comments for a user as long as they comment at least once with their username.
- Localization support
- Italian translation included
Installation
WordPress MU and WordPress
- Upload the whole TwitterLink-Comments folder to the regular plugins directory and activate it.
- Check the settings page in the dashboard and choose the description message and position/format/action of the follow link
- Save the settings and check a single post as a user or logged out to see it working.
Requirements
The plugin can run on WordPress and WordPress Mu at least version 2.8.
Notes
If you are adding the field for the Twitter id to your comments.php template file, you need to make sure that it has name=”atf_twitter_id” and that you configure the settings page to not automatically add the field (first option).
The plugin adds a table to the database called {prefix}wptwitipid (ie. wp_wptwitipid). The table is removed if the user deletes the plugin using the delete link on the plugin page once it has been deactivated.
All inputs are validated and any HTML is passed through kses using a limited set of HTML tags so there should be no worries for Mu owners about their users using code that they shouldn’t
Credits
Code, design and support : Andy Bailey http://comluv.com
Italian translation and localization testing : Gianni http://gidibao.net
Arabic translation : Firas http://www.webli.st/
German translation : Martin Waiss http://martinwaiss.com/
Tutorial Posts
Manually adding to Thesis theme in 5 easy steps. by @Animhut









Twitter: foxepractice
30. Jun, 2010 at 1:16 am #
Is it possible to get the stored Twitter ID into the value type field of the form for returning visitors, just like with url,name etc.?
(value=”")
Twitter: commentluv
30. Jun, 2010 at 8:39 am #
it would need to be saved in the cookie along with the other details so I guess it’s possible.
Twitterlink doesn’t need the value to be entered every time though, only once is enough.
Twitter: z3olyte
24. Jul, 2010 at 2:59 pm #
Is there a way where I can change the blue background color to white?… adding div style doesnt allow it so I’m curious to know if theres another way.
Thanks!
Twitter: BasicBlogTips
03. Aug, 2010 at 8:10 pm #
Hi Andy, I didn’t realize you made this plugin too. Looks like I need to blog about this. Hesham told me where to find it.
Do you plan to update it for WP 3.0.1 anytime soon??
Thanks a million.
Twitter: commentluv
23. Jan, 2010 at 2:46 pm #
just log out of your dashboard and leave a comment on your own site to test it.