{"id":106095,"date":"2019-07-04T12:46:49","date_gmt":"2019-07-04T12:46:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/block-areas\/"},"modified":"2019-08-20T19:19:20","modified_gmt":"2019-08-20T19:19:20","slug":"block-areas","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/block-areas\/","author":10972453,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.0","stable_tag":"0.2.0","tested":"5.2.24","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Block Areas","header_author":"The WP Rig Contributors","header_description":"Introduces a simple method for defining block areas to use the block editor outside of the post content.","assets_banners_color":"","last_updated":"2019-08-20 19:19:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/block-areas","header_author_uri":"https:\/\/github.com\/wprig","rating":5,"author_block_rating":0,"active_installs":60,"downloads":279255,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2117541","resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Block areas admin screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4121,1332,148076,24252,173560],"plugin_category":[46],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-106095","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-editor","plugin_tags-gutenberg","plugin_tags-theming","plugin_tags-wprig","plugin_category-editor-and-writing","plugin_committers-flixos90"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/block-areas.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/block-areas\/assets\/screenshot-1.png?rev=2117541","caption":"Block areas admin screen"}],"raw_content":"<!--section=description-->\n<p>Introduces a simple method for defining block areas to use the block editor outside of the post content.<\/p>\n\n<p>This is an experimental plugin that explores basic usage of Gutenberg blocks outside of the content bubble, on a sitewide level.<\/p>\n\n<p>In the long term it will likely eliminate itself once WordPress core and Gutenberg will have completed the next phase of advancing to the sitewide level. The plugin exists as a baseline to have an easy way for experimenting with similar functionality already today.<\/p>\n\n<h4>Usage<\/h4>\n\n<p>After activating the plugin, you can create and edit block areas under <em>Appearance &gt; Block Areas<\/em>. There should be two block areas already, <code>header<\/code> and <code>footer<\/code>.<\/p>\n\n<p>Block areas are identified by their unique slug. Since <code>header<\/code> and <code>footer<\/code> are expected to exist, make sure not to delete them.<\/p>\n\n<p>In order to print a specific block area, for example in your theme, use <code>block_areas()-&gt;render( $slug )<\/code> (e.g. <code>block_areas()-&gt;render( 'header' )<\/code>).<\/p>\n\n<p>You can also explicitly add theme support, specifying which block area slugs your theme relies on (e.g. <code>add_theme_support( 'block-areas', 'header', 'footer' )<\/code>).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>block-areas<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory or download it through the WordPress backend.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Where should I submit my support request?<\/dt>\n<dd><p>For regular support requests, please use the <a href=\"https:\/\/wordpress.org\/support\/plugin\/block-areas\">wordpress.org support forums<\/a>. If you have a technical issue with the plugin where you already have more insight on how to fix it, you can also <a href=\"https:\/\/github.com\/wprig\/block-areas\/issues\">open an issue on Github instead<\/a>.<\/p><\/dd>\n<dt>How can I contribute to the plugin?<\/dt>\n<dd><p>If you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the <a href=\"https:\/\/github.com\/wprig\/block-areas\">Github repository for the plugin<\/a>. Please stick to the <a href=\"https:\/\/github.com\/wprig\/block-areas\/blob\/master\/CONTRIBUTING.md\">contributing guidelines<\/a>.<\/p>\n\n<p>You can also contribute to the plugin by translating it. Simply visit <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/block-areas\">translate.wordpress.org<\/a> to get started.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Allow themes to explicitly add <code>block-areas<\/code> theme support and specify which areas they use.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Introduces a simple method for defining block areas to use the block editor outside of the post content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/106095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=106095"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flixos90"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=106095"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=106095"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=106095"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=106095"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=106095"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=106095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}