What does this plugin do?

The plugin uses the API to generate shortened urls for your posts. It is based on’s plugin.

What features does the plugin offer?

  • The plugin automatically assigns URLs to all existing posts.
  • The URL can be accessed using the wp_get_shortlink(); function.
  • If you’re using a custom short domain with, it will automatically be used.

How do I set it up?

After activating the plugin, go to Settings→ in your Dashboard’s sidebar menu: login

Enter your API Login and API Key. If you do not have a account, you can open one at

Shortlinks will not immediately be available for all of your existing posts, but will be generated automatically over time. This may take a while depending on how much content is already in place.

If you want to enable link shortening only on certain post types, you can tell the plugin about which types to support:

function my_add_bitly_cpts( $post_types ) {
	$post_types[] = 'my_custom_feature';
	$post_types[] = 'my_other_post_type';
	return $post_types;

add_filter( 'bitly_post_types' , 'my_add_bitly_cpts' );


What does it look like in action?

When your readers use the Twitter sharing button to share your posts, the shortlink will be used:


Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.