Plugin info

Total downloads: 3,061
Active installs: 10
Total reviews: 3
Average rating: 3.7
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/2/2013 (4565 days ago)
Added to WordPress: 3/15/2013 (12 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 3.5.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4565 days ago • 3 reviews

22/100

Is Bit.ly Shortlinks Multisite (Uses OAuth 2 API) abandoned?

Possibly abandoned (last update 4565 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 3.5.2
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Get Shortlinks
Rating 5.0/5 (1 reviews)Active installs 90
Generate Shortlinks
Rating 0.0/5 (0 reviews)Active installs 10
Linker – URL shortener & track outbound link clicks
Rating 4.3/5 (14 reviews)Active installs 2,000
Link Shortner
Rating 4.5/5 (11 reviews)Active installs 1,000
Shortlinks for Jetpack sharing buttons
Rating 5.0/5 (5 reviews)Active installs 200

Description

WordPress generates shortlinks for your posts and pages. By default it uses the ?p= with the post ID added to it, but if you have a rather long domain name this isn’t very useful. If you use Bit.ly, this plugin will help you replace the shortlink WordPress generates with a proper Bit.ly shortlink.

This plugin uses the latest Bit.ly OAuth 2 draft specification API instead of its deprecated V3 API and enables you to use generic access token to automatically enable Bit.ly shortlinks in your entire multisite network without the need for each site user to have to tinker with any settings or authentication configurations.

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Insert this code to define your bit.ly generic access token in your wp-config.php at the end right above “That’s all, stop editing! Happy blogging.”:

    define(‘BITLY_ACCESS_TOKEN’, ‘your_generic_access_token_goes_here’);

You can get your generic access token here: https://bitly.com/a/oauth_apps

Multisite Installation

Install and set up your access token the same way as a single site installation but make sure you Network Activate the plugin.

How To Call Bitly Shortlinks In Your Templates

I’ve included the function get_bitly($url) to help developers easily shorten URLs in their templates.

Example Usage:

<?php
    $url = 'http://YourLongURL.com';
    echo get_bitly($url); // display your shortened URL
?>

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Screenshot of Bit.ly shortlinks in action.

    Screenshot of Bit.ly shortlinks in action.

Changelog

1.2

  • Fixed bug that occurs when WP_ DEBUG is on (Thanks to Luke Childs for the bug find.)

1.1

  • Added get_bitly() function.

1.0

  • Initial release.