{"id":68218,"date":"2017-05-10T13:55:28","date_gmt":"2017-05-10T13:55:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-rest-api-frontpage\/"},"modified":"2020-07-24T08:29:52","modified_gmt":"2020-07-24T08:29:52","slug":"wp-rest-api-frontpage","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-rest-api-frontpage\/","author":14016291,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"","requires":"3.6.0","requires_php":"","requires_plugins":"","header_name":"WP REST API Frontpage","header_author":"Marnix Harderwijk","header_description":"Extends WP REST API with WordPress frontpage","assets_banners_color":"","last_updated":"2020-07-24 08:29:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mrpharderwijk\/wp-rest-api-frontpage","header_author_uri":"https:\/\/github.com\/mrpharderwijk","rating":5,"author_block_rating":0,"active_installs":40,"downloads":1254,"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":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1556,13007,2299,2300,2301],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-68218","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-frontpage","plugin_tags-rest","plugin_tags-wp-api","plugin_tags-wp-rest-api","plugin_committers-littlebigagency"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-rest-api-frontpage.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin extends the native <a href=\"http:\/\/v2.wp-api.org\/\">WordPress WP REST API<\/a> with a new endpoint for the static homepage chosen in 'Settings &gt; Reading &gt; Your homepage displays'.<\/p>\n\n<p>The new endpoint will be available at:<\/p>\n\n<ul>\n<li><code>wp-json\/wp\/v2\/frontpage<\/code>, which outputs the homepage page object<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Install the plugin as you would with any WordPress plugin in your <code>wp-content\/plugins\/<\/code> directory or equivalent.<\/p>\n\n<p>Once installed, activate WP REST API Frontpage from WordPress plugins dashboard page and you're ready to go. WP REST API will respond to the endpoint with the page object.<\/p>\n\n<p>Make sure you have selected a static homepage at 'Settings &gt; Reading &gt; Your homepage displays'. Choose 'A static page (select below)', and select a homepage from the drop down menu. Don't forget to safe!<\/p>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Updated the readme<\/li>\n<li>Merged composer file pull request<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<\/ul>","raw_excerpt":"Extends WordPress WP REST API with a new endpoint to retrieve the static homepage.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/68218","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=68218"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/littlebigagency"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=68218"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=68218"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=68218"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=68218"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=68218"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=68218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}