A plugin for dynamically adding a collection of shortcodes for building links to a given post/archive (of any type) or simply returning the URL!
Author: | Evan Mattson (profile at wordpress.org) |
WordPress version required: | 3.6 |
WordPress version tested: | 5.2.4 |
Plugin version: | 0.4.1 |
Added to WordPress repository: | 27-08-2013 |
Last updated: | 19-10-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | https://github.com/aaemnnosttv/post-link-shor... |
Total downloads: | 2 838 |
Active installs: | 70+ |
Click to start download |
This plugin dynamically adds a collection of helpful shortcodes for each registered post type. These shortcodes can be used to return URLs, or generate HTML elements like anchors and images to the related post!
Each post type will have 2 shortcodes created for it where {type}
is the name of the post type. Eg: post
or page
[{type}_url]
[{type}_link]
If the post type was registered with has_archive
, two more shortcodes will also be created:
[{type}_archive_url]
[{type}_archive_link]
NEW in 0.4.0:
If the post type supports thumbnail
(featured images) two more shortcodes will also be created:
[{type}_src]
[{type}_img]
NEW in 0.4.0:
Attachment shortcodes
[attachment_src]
[attachment_img]
[post_src hello-world]
[post_img hello-world size=medium]
For more information and examples: Read the Documentation
More
Post Link Shortcodes on GitHub!
Screenshots
ChangeLog