Plugin info

Total downloads: 12,507
Active installs: 100
Total reviews: 2
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 12/13/2024 (383 days ago)
Added to WordPress: 6/30/2009 (16 years old)
Minimum WordPress version: 2.6
Tested up to WordPress version: 6.4.7
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 383 days ago • 2 reviews

28/100

Is The Permalinker abandoned?

Possibly abandoned (last update 383 days ago).

Compatibility

Requires WordPress: 2.6
Tested up to: 6.4.7
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

LuckyWP Wiki Linking
Rating 3.0/5 (2 reviews)Active installs 80
WordPress Link Directory
Rating 0.0/5 (0 reviews)Active installs 40
Internal Link Building
Rating 3.0/5 (2 reviews)Active installs 30
Link Grab-O-Matic
Rating 1.0/5 (1 reviews)Active installs 10
Verbatim
Rating 5.0/5 (1 reviews)Active installs 10

Description

Use short codes to dynamically link to your WordPress pages and posts. All you need is the ID. This can come in handy when developing content for WordPress sites. Makes for a cleaner migration with no need to manipulate content when moving from one subdirectory or domain to another.

Attributes of append class, rel, and target are supported within the [permalink] opening tag. See FAQs. You can insert the token %post_title% to dynamically insert the post’s title into anchor text (content between the opening and closing shortcode).

A short code for [template_uri] exists if you’d like to dynamically grab the full URL to your current template directory (useful for adding images and other resources bundled in a template via the page/post editor).

Example 1: Create link.

[permalink id=2 rel="internal"]Check out my latest post named %post_title%[/permalink] or use `[permalink]this link[/permalink]` to link to this post.

Example 2: Output Permalink URL.

;This post.;

Example 3: Template Directory URI

A Photo of Me and My Grandma

Installation

  1. Download and unzip to the ‘wp-content/plugins/’ directory
  2. Activate the plugin.

Frequently Asked Questions

I’ve got multiple permalinker short codes and it’s interpreting them incorrectly and not creating the anchor tags properly. What gives?

It is recommended that if you are mixing non-terminating short codes with terminating codes, that you change all non-terminating
short codes into terminating short codes with whitespace as the content:

[permalink] becomes `[permalink] [/permalink]`

Leading or trailing whitespace is trimmed off of any content within the permalinker short code tags.

Can I add a class, rel, or target attribute to the permalinker output?

Yes. Simply add class, rel, or target attributes to the [permalink] short code and they will be added to the resulting anchor element:

[permalink id="232" rel="related" target="_blank" class="highlight"]My favorite post[/permalink]

Can I append a named anchor/ID/query string to the generated permalink?

Yes! Simply use the new append attribute (added in version 1.6):

[permalink id="232" append="#comments"]People are talking, talking 'bout people.[/permalink]

Review feed

No reviews available

Screenshots

  1. Content with short codes.

    Content with short codes.

  2. The dynamic output.

    The dynamic output.

  3. Markup.

    Markup.

Changelog

1.9.0

  • Added important security enhancements for escaping URLs and HTML content to prevent XSS and other potential security holes
  • Some legacy output may be affected as we are now escaping URLs and HTML attributes.
  • Content inside of the shortcode should not be escaped as we want to preserve any HTML within that shortcode content/anchor text.

1.8.0

  • WP 5.6 + PHP 7.4 compatibility
  • Minor code formatting clean up
  • Moved help documentation to Admin > Dashboard menu

1.7.1 (2019-04-28)

  • WP 5.2 compatibility

1.7 (2012-01-06)

  • Added ability to dynamically insert post_title into anchor text using the token %post_title%