Once again, that Andy Mabbett has given me the reason to knock out a quick WordPress plugin.
This one prints out a “Shortlink for this post” link (see screenshot)
You should also consider activating this shortlink plugin too which adds machine-readable references to the shortlink in the code for each page.
Download the plugin here and then,
- Unzip and upload add-shortlink-to-posts.php to your /wp-content/plugins directory
- Login to your dashboard
- Go to Plugins and activate the Add Shortlink to Posts plugin
- Check it works okay
WARNING: This has not been tested extensively and may well cause a black hole to open up and swallow your dog. Ensure you have a back up before trying out any untested plugins like this one.
If you do get it working, I’d appreciate you letting me know in the comments including what version of WordPress you are using and whether it’s a Multisite or not.