How to Restore the Get Shortlink Button in WordPress 4.4

Among the many changes in WordPress 4.4 in an effort to clean the interface, the Get Shortlink button is hidden from view. If you want to restore the button, check out the Shorter Links plugin developed by Rob Allen.

In addition to restoring the Get Shortlink button, it gives users the ability to use custom text that overrides the default URL.

Shorter Links Settings
Shorter Links Settings

If all you need is the button without additional functionality, the Bring Back The Get Shortlink Button plugin by Thorsten Frommen, is a great alternative with a descriptive name. To restore the button without using a plugin, add the following code to your theme’s functions.php file.

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

Get Shortlink is a good example of WordPress hiding functionality without removing it. This allows developers to create plugins like those mentioned above to cater to users who rely on the button’s existence.


22 responses to “How to Restore the Get Shortlink Button in WordPress 4.4”

  1. A good reason to have the short link available is when manually creating eBlasts (where a long link sometimes won’t work, and isn’t needed for SEO purposes).

    Thank you for posting on how to return it simply through a function aadd_filter. Greatly appreciated! ;-)


Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.