{"id":24922,"date":"2013-08-27T03:14:22","date_gmt":"2013-08-27T03:14:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-link-shortcodes\/"},"modified":"2019-10-19T18:28:35","modified_gmt":"2019-10-19T18:28:35","slug":"post-link-shortcodes","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/post-link-shortcodes\/","author":7503956,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.1","stable_tag":"0.4.1","tested":"5.2.24","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Post Link Shortcodes","header_author":"Evan Mattson","header_description":"","assets_banners_color":"0968ac","last_updated":"2019-10-19 18:28:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=LRA4JZYALHX82","header_plugin_uri":"https:\/\/github.com\/aaemnnosttv\/post-link-shortcodes","header_author_uri":"http:\/\/aaemnnost.tv","rating":5,"author_block_rating":0,"active_installs":40,"downloads":3492,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"0.4.1":"<p>Fixed unregistered <code>{type}_archive_url<\/code> shortcode<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1196653","resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1196653","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1196653","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1196653","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.3","0.3.1","0.4.0","0.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1197133","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1197133","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1197133","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Basic usage. Source shortcode, with html-escaped output in blue.","2":"Post thumbnail usage.  Works for any post type which supports post thumbnails as well as attachments. Source shortcode, with html-escaped output in blue.","3":"Attachment examples. Source shortcode, with html-escaped output in blue."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1794,50155,40587,46515,80],"plugin_category":[43],"plugin_contributors":[80709],"plugin_business_model":[],"class_list":["post-24922","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-post-type","plugin_tags-custom-post-type-link","plugin_tags-post-link","plugin_tags-post-url","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-aaemnnosttv","plugin_committers-aaemnnosttv"],"banners":{"banner":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/banner-772x250.jpg?rev=1196653","banner_2x":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/banner-1544x500.jpg?rev=1196653","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/icon-128x128.jpg?rev=1196653","icon_2x":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/icon-256x256.jpg?rev=1196653","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/screenshot-1.png?rev=1197133","caption":"Basic usage. Source shortcode, with html-escaped output in blue."},{"src":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/screenshot-2.png?rev=1197133","caption":"Post thumbnail usage.  Works for any post type which supports post thumbnails as well as attachments. Source shortcode, with html-escaped output in blue."},{"src":"https:\/\/ps.w.org\/post-link-shortcodes\/assets\/screenshot-3.png?rev=1197133","caption":"Attachment examples. Source shortcode, with html-escaped output in blue."}],"raw_content":"<!--section=description-->\n<p>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!<\/p>\n\n<p>Each post type will have 2 shortcodes created for it where <code>{type}<\/code> is the name of the post type. Eg: <code>post<\/code> or <code>page<\/code><\/p>\n\n<pre><code>[{type}_url]\n[{type}_link]\n<\/code><\/pre>\n\n<p>If the post type was registered with <code>has_archive<\/code>, two more shortcodes will also be created:<\/p>\n\n<pre><code>[{type}_archive_url]\n[{type}_archive_link]\n<\/code><\/pre>\n\n<p><strong>NEW in 0.4.0:<\/strong>\nIf the post type supports <code>thumbnail<\/code> (featured images) two more shortcodes will also be created:\n    [{type}_src]\n    [{type}_img]<\/p>\n\n<p><strong>NEW in 0.4.0:<\/strong>\nAttachment shortcodes\n    [attachment_src]\n    [attachment_img]<\/p>\n\n<pre><code>[post_src hello-world]\n[post_img hello-world size=medium]\n<\/code><\/pre>\n\n<p><strong>For more information and examples: <a href=\"https:\/\/github.com\/aaemnnosttv\/post-link-shortcodes\/wiki\">Read the Documentation<\/a><\/strong><\/p>\n\n<h3>More<\/h3>\n\n<p><a href=\"https:\/\/github.com\/aaemnnosttv\/Post-Link-Shortcodes\">Post Link Shortcodes on GitHub!<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>post-link-shortcodes<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>FIXED: Unregistered <code>{type}_archive_url<\/code> shortcode<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>NEW: <code>attachment_src<\/code> and <code>attachment_img<\/code> shortcodes<\/li>\n<li>NEW: <code>{type}_src<\/code> and <code>{type}_img<\/code> shortcodes for types that support post thumbnails<\/li>\n<li>NEW: added filters<\/li>\n<li>Various improvements and optimizations under the hood<\/li>\n<li>Added support for boolean html attributes <\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Aliases introduced<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Initial release!<\/li>\n<\/ul>","raw_excerpt":"A collection of shortcodes for building links, images, or URLs to a given post\/archive of any type.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24922"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aaemnnosttv"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24922"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24922"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24922"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24922"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24922"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}