This plugin replaces the default WordPress shortlinks with Bit.ly shortlinks for your single site or multisite WordPress network.
pluginfolder to the
wp-config.phpat the end right above "That's all, stop editing! Happy blogging.":
You can get your generic access token here: https://bitly.com/a/oauth_apps
Install and set up your access token the same way as a single site installation but make sure you Network Activate the plugin.
I've included the function
get_bitly($url) to help developers easily shorten URLs in their templates.
<?php $url = 'http://YourLongURL.com'; echo get_bitly($url); // display your shortened URL ?>
Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: 100+
Got something to say? Need help?