BNS Twitter Follow Button


A widget to allow you to set the parameters of the Twitter Follow Button found here: This widget also creates a shortcode that can be used in posts and pages. Also to note, each instance of the shortcode or widget can use a different Twitter name so you can have multiple Twitter accounts listed on your website. Includes support of languages for the Follow Button using the two letter ISO-639-1 language code for English (en), French (fr), German (de), Italian (it), Spanish (es), Korean (ko) and Japanese (ja).
* Copyright 2011-2015, Edward Caissie (email :

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.

You may NOT assume that you can use any other version of the GPL.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

The license for this software can also likely be found here:


Where can I get support for this widget?

Please note, support may be available on the WordPress Support forums; but, it may be faster to visit and leave a comment with the issue you are experiencing.

Can I use this in more than one widget area?

Yes, this plugin has been made for multi-widget compatibility. Each instance of the widget will display, if wanted, differently than every other instance of the widget.

How can I style the plugin output?

Yes, more to follow … or read this page:



  • Released August 2015
  • Updated to use PHP5 constructor objects


  • Released November 2014
  • Set widget.js location to protocol agnostic
  • Cleaned up code
  • Improved i18n textdomain references
  • Changed tags to more simple references to plugin functionality


  • Released September 2013
  • Corrected “undefined index” issue for the lang parameter


  • Released May 2013
  • Version number compatibility update


  • Released February 2013
  • Added code block termination comments
  • Moved all code into class structure


  • Documentation updates
  • Remove load_plugin_textdomain as redundant


  • Documentation updates
  • Code format updates and clean-up
  • Added license reference to ‘readme.txt’


  • released November 2011
  • confirmed compatible with WordPress 3.3
  • added PHPDoc style documentation
  • added i18n support using bns-tfb text domain
  • added WordPress version check for compatibility
  • general code clean-up


  • added support of languages for the Follow Button using the two letter ISO-639-1 language code
  • languages supported: English (en); French (fr); German (de); Italian (it); Spanish (es); Korean (ko); and, Japanese (ja).
  • updated readme (this file) with corrections to shortcode usage / parameters


  • update to readme.txt file (typos and corrections)


  • Initial Release – working beta version
  • released June 1, 2011

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code