WordPress plugin intelligence profile

Shortlinks

Shortlinks allows you to easily retrieve the shortlink for your WordPress posts, pages, categories, post_tags, attachments, custom post types, and cus …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.0
Current version0.1
WordPress coverageTested up to WordPress 3.0
Minimum stackWP 3 · PHP —
Directory statusactive
Last directory update15 Apr 201016y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Shortlinks version 0.1 as active, updated 16y ago and tested up to WordPress 3.0.

Overview

About this plugin

Shortlinks allows you to easily retrieve the shortlink for your WordPress posts, pages, categories, post_tags, attachments, custom post types, and custom taxonmies.

page_id=3565 ) to load up your posts, pages, categories, etc. But when you enable permalinks, the query string is hidden by the WordPress rewrite rules. Having pretty urls is great, but also makes the website less flexible.

For example, changing a posts published date will change the URL.

While we can’t control how other people will link to our site, we can control how we link to our internal sites.

By default, with permalinks enabled, when visiting WordPress with a shortlink, WordPress will redirect you to the permalink URL.

How It Works

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:

Why I Created It

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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • category
  • page
  • pages
  • post
  • posts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.0
Minimum requirementsWordPress 3 · PHP not listed
Update activity15 Apr 201016y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.