Title: The Permalinker
Author: Andy Stratton
Published: <strong>2009-يىلى 30-ئىيۇن</strong>
Last modified: 2024-يىلى 13-دېكابىر

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/the-permalinker.svg)

# The Permalinker

 يازغۇچى [Andy Stratton](https://profiles.wordpress.org/theandystratton/)

[چۈشۈر](https://downloads.wordpress.org/plugin/the-permalinker.1.9.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/the-permalinker/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/the-permalinker/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/the-permalinker/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/the-permalinker/#developers)

 [قوللاش](https://wordpress.org/support/plugin/the-permalinker/)

## چۈشەندۈرۈش

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._

    ```
    <a href="[permalink]">;This post.</a>;
    ```

_Example 3: Template Directory URI_

    ```
    <img src="[template_uri]/photos/me_grandma.jpg" alt="A Photo of Me and My Grandma" />
    ```

## ئېكران كەسمىسى

[⌊Content with short codes.⌉⌊Content with short codes.⌉[

Content with short codes.

[⌊The dynamic output.⌉⌊The dynamic output.⌉[

The dynamic output.

[⌊Markup.⌉⌊Markup.⌉[

Markup.

## ئورنىتىش

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

## FAQ

### 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]
    ```

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«The Permalinker» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە
قوشقان.

تۆھپىكار

 *   [ Andy Stratton ](https://profiles.wordpress.org/theandystratton/)

[«The Permalinker» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/the-permalinker)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/the-permalinker/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/the-permalinker/) تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/the-permalinker/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/the-permalinker/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 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%

## Meta

 *  Version **1.9.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **2 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **100+**
 *  WordPress نەشرى ** 2.6 ياكى يۇقىرى **
 *  **6.4.8** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/the-permalinker/)
 * بەلگە
 * [development](https://ug.wordpress.org/plugins/tags/development/)[linking](https://ug.wordpress.org/plugins/tags/linking/)
   [migration](https://ug.wordpress.org/plugins/tags/migration/)[permalinks](https://ug.wordpress.org/plugins/tags/permalinks/)
   [staging](https://ug.wordpress.org/plugins/tags/staging/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/the-permalinker/advanced/)

## دەرىجە

 5/5 يۇلتۇز

 *  [  2 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/the-permalinker/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/the-permalinker/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/the-permalinker/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/the-permalinker/reviews/?filter=2)
 *  [  0 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/the-permalinker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/the-permalinker/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/the-permalinker/reviews/)

## تۆھپىكار

 *   [ Andy Stratton ](https://profiles.wordpress.org/theandystratton/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/the-permalinker/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](http://theandystratton.com/donate)