Add "Get Shortlinks" to the admin side for Pages, and Taxonomies (includes custom taxonomies, categeories, and post tags)
Shortlinks hooks into the WordPress filter
get_shortlink to enable shortlinks for all WordPress types.
You can use Shortlinks in your own theme or plugin.
To return the shortlink for a post, page, or custom post type, where $id represents the ID:
To return the shortlink for a category, where $id represents the category id:
To return the shortlinks for custom taxonomy, where $id represents the term id, and $taxonomy represents the custom taxonomy:
WordPress supports shortlinks by default, but only allows the user to get the shortlink for a post. Finding it unacceptable, I created a plugin to get shortlinks for all content types.
Requires: 3 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: 200+
Got something to say? Need help?