=== Plugin Name === Contributors: webbgaraget,gish Donate link: http://webbgaraget.se/ Tags: share, short url, statistics, bitly, url, Requires at least: 3.3.2 Tested up to: 3.4.2 Stable tag: 0.3.3 Uses bit.ly's shorten service to automatically create a shortened URL when publishing a post. == Description == This plugin makes it easier to share blog post since all posts automatically gets a shortened URL generated by [bit.ly](http://bitly.com/). Click statistics is shown for each post and also as a dashboard widget (can be toggled). Get the shortened URL by using the functions `WGBitlyHelper::the_short_link( $post_id = null )` and `WGBitlyHelper::get_short_link( $post_id = null )`. = Todo = * Generate shortlinks for all existing posts. * Handle exceeded rate limit. == Installation == 1. Download the plugin and extract it into `/wp-content/plugins/`. 1. Activate the plugin at the plugins menu in the admin dashboard. 1. Enter your username and API key in the settings section Tools > WG bit.ly == Frequently Asked Questions == = How do I generate a shortened URL for an existing post? = Update the post, without making any changes to it, and the URL will be generated. = Why does it say that there is no URL generated for post x? = That might be because of the following reasons: 1. You have set the username and API key in the settings view. 1. The post is only a draft. Shortened URLs will be generated for published, private or future posts. == Screenshots == 1. The settings view. 2. A published post with box displaying the shortened URL and stats. == Changelog == = 0.3.3 = Fixed performance issue. = 0.3.2 = Forced new version number = 0.3.1 = Changed spelling of helper functions that retrieved the shortened URL. Their names are: * WGBitlyHelper::the_short_link( $post_id = null ) * WGBitlyHelper::get_short_link( $post_id = null ) = 0.3 = Added a feature to get the shortened URL by code. Similar to `the_permalink()` and `get_permalink()`, the functions `WGBitlyHelper::the_short_url( $post_id = null )` and `WGBitlyHelper::get_short_url( $post_id = null )` will output a link and return the URL, respectively. = 0.2.1 = Forced new version number = 0.2 = Added ability to use pro domain. = 0.1 = First version. == Upgrade Notice == = 0.1 = First version.