Twitter Followers counter in plain text

A simple way of showing number of followers on twitter is using Twitter counter buttons or you may use the WordPress plugin which has some badges to show counters.

However, if you use WordPress then using a plain text to show Twitter Followers’ count is preferable as a matter of beauty. There are some hacks developed which includes some changes in core files of WordPress installation but some of you may find it difficult to perform the hack so, ThemeSphere developed a plugin to work out this thing for you.

Twounter is a WordPress Plugin that fetches the number of followers for a twitter profile and returns it in plain text format. Twounter uses Twitter API to ensure that the plugin provides the maximum speed while fetching the number of followers.

Usage :

  • Use the <?php echo twounter(’username’) ; ?> function in your template files to show the number of Twitter followers. (replace ‘username’ with your Twitter user name)
  • If you want to show it inside post then,  use shortcode [twounter]username[/twounter]

Since the output is simple text, you can use your CSS skills to show it as you want.

Click Here to Leave a Comment Below 3 comments
rvtwt - August 4, 2009

It looks to me like you?ve just got a CSS problem, not a javascript problem. Adding:.textwidget{background: #FFFFFF;}to your stylesheet should give you the white background, but if you want it to look exactly like the other widgets, (with rouned corners and same fonts) you?ll need to make sure the textwidget class has the same css as sidebar ul.If you need a better explanation or just want me to fix it for you fill free to email me.

Miguelina Herber - April 27, 2010

I love to use Twitter whenever i want to know the latest buzz about my friends. I also use Twitter to know the latest buzz from famous persons ‘

Legit Work at Home - September 19, 2010

Thanks.. this post really help to put twitter follower counter easily at wordpress. I just wanna know if we can put it (image/text) hover style.


Leave a Reply: