Bitly shared links plugin

This will be the first plugin I will publish, so it will be a little simple and maybe unpolished.

I built this plugin because I see that all the links posted in twitter are shortened by or a similar service. There are many plugins that insert at the bottom of the posts links to share the post in various services but the link sent is not shortened. By default a long URL sent to twitter is shortened using but one of the useful features of is that you can get statistics of how many clicks the shortened URL received, from where and when.

How to use it:

bitly_share_links_optionsOnce you have installed and activated the plugin you have to enter your login and API key in the ‘ Share Links Options’ page and select what short URL you want to use ( or and if you want the links to open in a new window/tab.

Now when you publish a new post the plugin will send a request to to generate the short URL and store it in the post meta. When a user goes to the post page at the bottom of the post the plugin will insert links to share your posts in the most popular social media sites (facebook, twitter, stumbleupon, etc..).

bitly_share_links_post_editIf you have the sociable plugin installed the plugin will not display a second set of links, instead it will hook into the sociable plugin and replace the long URL with the short url generated by

The plugin also retrieves the stats for the short URL, you can see the stats in the edit post page.

Download Bitly shared links

Comments are closed.