Title: Block Areas
Author: Felix Arntz
Published: <strong>4 de juliol de 2019</strong>
Last modified: 20 d'agost de 2019

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/block-areas.svg)

# Block Areas

 Per [Felix Arntz](https://profiles.wordpress.org/flixos90/)

[Baixa](https://downloads.wordpress.org/plugin/block-areas.0.2.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/block-areas/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/block-areas/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/block-areas/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/block-areas/#developers)

 [Suport](https://wordpress.org/support/plugin/block-areas/)

## Descripció

Introduces a simple method for defining block areas to use the block editor outside
of the post content.

This is an experimental plugin that explores basic usage of Gutenberg blocks outside
of the content bubble, on a sitewide level.

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.

#### Usage

After activating the plugin, you can create and edit block areas under _Appearance
> Block Areas_. There should be two block areas already, `header` and `footer`.

Block areas are identified by their unique slug. Since `header` and `footer` are
expected to exist, make sure not to delete them.

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

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' )`).

## Captures

 * [[
 * Block areas admin screen

## Instal·lació

 1. Upload the entire `block-areas` folder to the `/wp-content/plugins/` directory 
    or download it through the WordPress backend.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## PMF

  Where should I submit my support request?

For regular support requests, please use the [wordpress.org support forums](https://wordpress.org/support/plugin/block-areas).
If you have a technical issue with the plugin where you already have more insight
on how to fix it, you can also [open an issue on Github instead](https://github.com/wprig/block-areas/issues).

  How can I contribute to the plugin?

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 [Github repository for the plugin](https://github.com/wprig/block-areas).
Please stick to the [contributing guidelines](https://github.com/wprig/block-areas/blob/master/CONTRIBUTING.md).

You can also contribute to the plugin by translating it. Simply visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/block-areas)
to get started.

## Ressenyes

![](https://secure.gravatar.com/avatar/6d7616c0b4c9dde076ce99c3dd4c5d36b7a522d1f7a129957de2c35b3d33a976?
s=60&d=retro&r=g)

### 󠀁[Simple & Powerful](https://wordpress.org/support/topic/simple-powerful-21/)󠁿

 [Paul Bystrzan](https://profiles.wordpress.org/inkm/) 12 de desembre de 2019

I totally agree with @markhowellsmead – it’s a real pleasure to use Your solution.
Hope we’ll be able to work with it as core WordPress functionality soon.

![](https://secure.gravatar.com/avatar/a133e56712d12c4d2add2d1668313203eb3d5a76f41e793a2e7c2012131b6b16?
s=60&d=retro&r=g)

### 󠀁[Very simple yet very powerful](https://wordpress.org/support/topic/very-simple-yet-very-powerful/)󠁿

 [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/) 5 de octubre
de 2019

Great idea and reliable plugin, which we use to allow our clients to edit areas 
using Gutenberg outside of the main content area.

![](https://secure.gravatar.com/avatar/d6bc55c5cf788874e661bd742e1a9dcdcb180fd0010cbd53eacc96bbeeecf340?
s=60&d=retro&r=g)

### 󠀁[Easy To Use](https://wordpress.org/support/topic/easy-to-use-2700/)󠁿

 [dbm44](https://profiles.wordpress.org/dbm44/) 22 de agost de 2019

Works great! Simple to use and delivers block areas in page templates where I need
them

 [ Llegiu totes les 3 ressenyes ](https://wordpress.org/support/plugin/block-areas/reviews/)

## Col·laboradors i desenvolupadors

«Block Areas» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

 *   [ Felix Arntz ](https://profiles.wordpress.org/flixos90/)

[Traduïu «Block Areas» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/block-areas)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/block-areas/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/block-areas/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/block-areas/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/block-areas/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.2.0

 * Allow themes to explicitly add `block-areas` theme support and specify which 
   areas they use.

#### 0.1.0

 * Initial release

## Meta

 *  Versió **0.2.0**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **50+**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **5.2.24**
 *  Versió del PHP ** 7.0 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/block-areas/)
 * Etiquetes
 * [blocks](https://ca.wordpress.org/plugins/tags/blocks/)[editor](https://ca.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://ca.wordpress.org/plugins/tags/gutenberg/)[theming](https://ca.wordpress.org/plugins/tags/theming/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/block-areas/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  3 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/block-areas/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/block-areas/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/block-areas/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/block-areas/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/block-areas/reviews/?filter=1)

[Afegeix una ressenya](https://wordpress.org/support/plugin/block-areas/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/block-areas/reviews/)

## Col·laboradors

 *   [ Felix Arntz ](https://profiles.wordpress.org/flixos90/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/block-areas/)