Skip to content

Commit a25afd2

Browse files
author
Felix Arntz
committed
Bump version to 0.2.0.
1 parent eb71f00 commit a25afd2

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

block-areas.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Block Areas
1111
* Plugin URI: https://wordpress.org/plugins/block-areas
1212
* Description: Introduces a simple method for defining block areas to use the block editor outside of the post content.
13-
* Version: 0.1.0
13+
* Version: 0.2.0
1414
* Author: The WP Rig Contributors
1515
* Author URI: https://github.com/wprig
1616
* License: GNU General Public License v2 (or later)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wprig/block-areas",
33
"description": "Introduces a simple method for defining block areas to use the block editor outside of the post content.",
4-
"version": "0.1.0",
4+
"version": "0.2.0",
55
"license": "GPL-2.0-or-later",
66
"type": "wordpress-plugin",
77
"keywords": [

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: felixarntz
44
Requires at least: 5.0
55
Tested up to: 5.2
66
Requires PHP: 7.0
7-
Stable tag: 0.1.0
7+
Stable tag: 0.2.0
88
License: GNU General Public License v2 (or later)
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: wprig, gutenberg, blocks, editor, theming
@@ -27,6 +27,8 @@ Block areas are identified by their unique slug. Since `header` and `footer` are
2727

2828
In order to print a specific block area, for example in your theme, use `block_areas()->render( $slug )` (e.g. `block_areas()->render( 'header' )`).
2929

30+
You can also explicitly add theme support, specifying which block area slugs your theme relies on (e.g. `add_theme_support( 'block-areas', 'header', 'footer' )`).
31+
3032
== Installation ==
3133

3234
1. Upload the entire `block-areas` folder to the `/wp-content/plugins/` directory or download it through the WordPress backend.
@@ -50,6 +52,10 @@ You can also contribute to the plugin by translating it. Simply visit [translate
5052

5153
== Changelog ==
5254

55+
= 0.2.0 =
56+
57+
* Allow themes to explicitly add `block-areas` theme support and specify which areas they use.
58+
5359
= 0.1.0 =
5460

5561
* Initial release

0 commit comments

Comments
 (0)