{"id":4073,"date":"2008-11-20T17:08:03","date_gmt":"2008-11-20T17:08:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/peters-blog-url-shortcodes\/"},"modified":"2015-11-19T01:47:20","modified_gmt":"2015-11-19T01:47:20","slug":"peters-blog-url-shortcodes","status":"publish","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/peters-blog-url-shortcodes\/","author":127561,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4","stable_tag":"trunk","tested":"4.8.28","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"Peter's Blog URL Shortcodes","header_author":"Peter Keung","header_description":"","assets_banners_color":"","last_updated":"2015-11-19 01:47:20","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.theblog.ca","header_plugin_uri":"http:\/\/www.theblog.ca\/blog-url-shortcodes","header_author_uri":"http:\/\/www.theblog.ca\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":11517,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[83,86,80,538],"plugin_category":[43],"plugin_contributors":[78128],"plugin_business_model":[],"class_list":["post-4073","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-post","plugin_tags-shortcode","plugin_tags-url","plugin_category-customization","plugin_contributors-pkthree","plugin_committers-kasparsd","plugin_committers-pkthree"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/peters-blog-url-shortcodes.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds shortcodes [blogurl], [posturl], [templateurl], and [childtemplateurl] for WordPress 2.6 and up. Use [blogurl] to generate your site URL. It offers the parameters \"slash\" and \"noslash\" (to add a trailing slash; [templateurl] and [childtemplateurl] also support this), as well as \"uploads\" to produce the URL of the uploads folder and \"wordpress\" to produce the URL of your WP files. Use [posturl id=3] (replace \"3\" with a post ID) to generate the permalink for any post.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><p>[blogurl] will generate <code>http:\/\/www.yoursite.com\/<\/code><\/p><\/li>\n<li><p>[blogurl wordpress] will generate the URL to the root of your WordPress files, if they are in a different location than your site root<\/p><\/li>\n<li><p>[blogurl noslash] will generate <code>http:\/\/www.yoursite.com<\/code><\/p><\/li>\n<li><p>[blogurl uploads] will generate <code>http:\/\/www.yoursite.com\/wp-content\/uploads\/<\/code><\/p><\/li>\n<li><p>[blogurl uploads noslash] will generate <code>http:\/\/www.yoursite.com\/wp-content\/uploads<\/code><\/p><\/li>\n<li><p>[posturl id=375] will generate the correct permalink for the post with an ID of 375; for example, &lt;a href=\"[posturl id=375]\"&gt;post about this plugin&lt;\/a&gt; would generate <a href=\"http:\/\/www.theblog.ca\/blog-url-shortcodes\" title=\"From Peter's Useful Crap\">post about this plugin<\/a><\/p><\/li>\n<li><p>[templateurl] will generate the URL to your parent theme's root<\/p><\/li>\n<li><p>[childtemplateurl] will generate the URL to your child theme's root<\/p><\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 2.6 or higher<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Unzip blog&#095;url&#095;shortcodes.php to your WordPress plugins folder. It should work out of the box, but you can tweak some settings in the plugin file itself if needed.<\/p>\n\n<!--section=faq-->\n<p>Please visit the plugin page at http:\/\/www.theblog.ca\/blog-url-shortcodes with any questions.<\/p>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>Unzip blog&#095;url&#095;shortcodes.php to your WordPress plugins folder. It should work out of the box, but you can tweak some settings in the plugin file itself if needed.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Use shortcodes for blog URLs, post URLs, and template URLs so that your posts always have the correct internal links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4073"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pkthree"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4073"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4073"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4073"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4073"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4073"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}