{"id":11733,"date":"2011-01-10T20:29:10","date_gmt":"2011-01-10T20:29:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/home-url\/"},"modified":"2011-01-10T20:31:29","modified_gmt":"2011-01-10T20:31:29","slug":"home-url","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/home-url\/","author":7497268,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"3.0.5","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Home Url","header_author":"Joshua Garner","header_description":"","assets_banners_color":"","last_updated":"2011-01-10 20:31:29","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wphomeurl@gmail.com","header_plugin_uri":"","header_author_uri":"","rating":4,"author_block_rating":0,"active_installs":10,"downloads":1809,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[34924,34925,1772,80],"plugin_category":[43],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-11733","plugin","type-plugin","status-closed","hentry","plugin_tags-home_url","plugin_tags-relative-links","plugin_tags-relative-urls","plugin_tags-shortcode","plugin_category-customization","plugin_committers-dudzjosh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/home-url.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Enables you to use the home_url() function(http:\/\/codex.wordpress.org\/Function_Reference\/home_url) when HTML editing.\nThis allows you to easily manage relative urls.<\/p>\n\n<p>The home_url template tag retrieves the home url for the current site. \nReturns the 'home' option with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise. \nIf scheme is 'http' or 'https', is_ssl() is overridden.<\/p>\n\n<p>How to use:<\/p>\n\n<p>[home-url path= scheme=]<\/p>\n\n<p>path\n    (string) (optional) Path relative to the home url.\n     Default: '\/'<\/p>\n\n<p>scheme\n    (string) (optional) Scheme to give the home url context. Currently 'http','https'.\n     Default: null<\/p>\n\n<p>Examples:<\/p>\n\n<p>[home-url]\n-&gt; http:\/\/www.mydomain.com\/<\/p>\n\n<p>[home-url path=\"about\"]\n-&gt; http:\/\/www.mydomain.com\/about<\/p>\n\n<p>[home-url path=\"blog\/category\/news\"]\n-&gt; http:\/\/www.mydomain.com\/blog\/category\/news<\/p>\n\n<h3>Contributors<\/h3>\n\n<p>Joshua Garner wphomeurl@gmail.com<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the entire directory from the downloaded zip file into the \/wp-content\/plugins\/ folder.<\/li>\n<li>Activate the \"Home Url\" plugin in the Plugin Management page.<\/li>\n<li>Add the shortcode [home-url path=\"your page\"] to the page(s) of your choice.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Released on 10\/01\/2011<\/li>\n<li>Initial release of Home Url plugin.<\/li>\n<\/ul>","raw_excerpt":"Enables you to use the home_url() function(http:\/\/codex.wordpress.org\/Function_Reference\/home_url) when HTML editing.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11733"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dudzjosh"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11733"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11733"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11733"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11733"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11733"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}