Methods to Get Shortlink Button in WordPress

WordPress shortlinks are useful for sharing in your emails, facebook messages, or even text messages. It was a default feature until WordPress version 4.4,now lets see Methods to Get Shortlink Button in WordPress.

Get Shortlink button is a WordPress feature that allows you to easily get a short link of your WordPress blog post or page. It used to be located right next to the permalink area in the post edit screen.

WordPress shortlinks are useful for sharing in your emails, facebook messages, or even text messages. It was a default feature until WordPress version 4.4. now we are going to see  how to bring back the get shortlink feature in WordPress. In this tutorial, we will share how to restore the get shortlink button in WordPress.

Methods to Get Shortlink Button in WordPress

First thing you need to do is install and activate the WP Bitly plugin

Upon activation, this plugin will automatically add the Get Shortlink button on your post edit screen.

 

Once you click on this button, it will show you the shortlink for your WordPress posts and pages. This shortlink can be shared in your emails and messages, so your audience can reach directly to the page.

 

You can also use the WP Bitly plugin to create custom branded shortlinks for your blog posts .

 Manually Adding Get Shortlink Button

This method requires you to add code to your WordPress files.

You will need to add the following code to your WordPress theme’s functions.php file or a site-specific plugin:

1
add_filter( 'get_shortlink', function( $shortlink ) {return $shortlink;} );

This code will add the shortlink filter to display the Get Shortlink button in your WordPress pages and posts.

 

We hope this article helped you bring back the Get Shortlink button in WordPress.