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?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.