=== DanP Bitly URLs === Contributors: danpoulton Donate link: https://dan-p.net/donate Tags: short URLs, Bitly, short links Requires at least: 5.0 Tested up to: 5.8 Stable tag: 1.1.0 Requires PHP: 5.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Generate Bitly short links for posts and pages every time you first publish. Already have posts? You can generate a link for all posts and pages too. == Description == This very simple plugin generates a Bitly shortlink and saves it to your WordPress database. It does this via two different methods: * Publish a page or post for the first time * Click the generate all button [Getting Started Guide](https://dan-p.net/wordpress-plugins/danp-bitly-urls) == Frequently Asked Questions == = How do I get a Bitly API token? = You'll need to register for an account with [Bitly](https://bitly.com). Once you've got one, take a look at [this guide on getting your API token](https://support.bitly.com/hc/en-us/articles/230647907-How-do-I-generate-an-OAuth-access-token-for-the-Bitly-API-). = Where do I enter my Bitly API token? = Login to the WordPress Dashboard, Settings, then Reading. Scroll to the bottom and you'll see "DanP Bitly URLs: API Token". Enter your token and click save. = How do I generate a new Bitly short URL? = Either: * Publish a new post or page for the first time * Login to the WordPress Dashboard, Settings, then Reading. Scroll to the bottom and you'll see "DanP Bitly URLs: API Token". Click the "Update all short URLs" button. == Screenshots == 1. This is where you can add your Bitly API token and generate short URLs for all posts and pages. Location: Dashboard > Settings > Reading. == Changelog == = 1.0 = * This is the first version! = 1.1 = * API token is now checked for validity on saving that option * Shortcode to output Bitly shortened URL introduced == Upgrade Notice == = 1.0 = * This is the first version! = 1.1 = * API token is now checked for validity on saving that option * Shortcode to output Bitly shortened URL introduced