How to Restore the Get Shortlink Button in WordPress

I personally use the “Get Shortlink” button to place posts back links under my YouTube videos, Thus keeping the description area clean.

I recently upgraded to WordPress 4.4 and I noticed that the Get Shortlink button is now is hidden from view.

Restore-the-Get-Shortlink-Button-in-WordPress

If  you just need the button without additional functionality, the Bring Back The Get Shortlink Button plugin, does the job. This is the plugin I used on the video tutorial.

If you want to restore the button without using a plugin, then add the following code to your theme’s functions.php file.

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

Video Tutorial:

Leave a Reply