વર્ણન
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
સ્ક્રીનશોટ
સ્થાપન
- Upload the
post-link-shortcodesfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
ફાળો આપનાર & ડેવલપર્સ
“Post Link Shortcodes” ને તમારી ભાષામાં અનુવાદ કરો.
વિકાસમાં રસ ધરાવો છો?
કોડ બ્રાઉઝ કરો, જોવોઅસ્વીએન રેપોઝિટરીમાંથી,અથવા સબ્સ્ક્રાઇબ કરોડેવલપમેન્ટ દ્વારાઆરઅસઅસ.
ચેન્જલૉગ
0.4.1
- FIXED: Unregistered
{type}_archive_urlshortcode
0.4.0
- NEW:
attachment_srcandattachment_imgshortcodes - NEW:
{type}_srcand{type}_imgshortcodes for types that support post thumbnails - NEW: added filters
- Various improvements and optimizations under the hood
- Added support for boolean html attributes
0.3.1
- Fix a bug where a shortcode would return data for the current page/post when searching for a target post by a slug that does not or no longer exists.
0.3
- Aliases introduced
0.2
- Initial release!



