Title: Block Areas
Author: Felix Arntz
Published: <strong>4. juli, 2019</strong>
Last modified: 20. august, 2019

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Block Areas

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

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

 * [Detaljer](https://da.wordpress.org/plugins/block-areas/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/block-areas/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/block-areas/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/block-areas/#developers)

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

## Beskrivelse

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

## Skærmbilleder

 * [[
 * Block areas admin screen

## Installation

 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.

## FAQ

  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.

## Anmeldelser

![](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. december, 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. oktober,
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. august, 2019

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

 [ Læs alle 3 anmeldelser ](https://wordpress.org/support/plugin/block-areas/reviews/)

## Bidragsydere & udviklere

“Block Areas” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

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

[Oversæt “Block Areas” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/block-areas)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/block-areas/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/block-areas/), eller abonner 
på [udviklerloggen](https://plugins.trac.wordpress.org/log/block-areas/) via [RSS](https://plugins.trac.wordpress.org/log/block-areas/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.2.0

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

#### 0.1.0

 * Initial release

## Meta

 *  Version **0.2.0**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **50+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.2.24**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/block-areas/)
 * Tags
 * [blocks](https://da.wordpress.org/plugins/tags/blocks/)[editor](https://da.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://da.wordpress.org/plugins/tags/gutenberg/)[theming](https://da.wordpress.org/plugins/tags/theming/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/block-areas/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

[Tilføj min vurdering](https://wordpress.org/support/plugin/block-areas/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/block-areas/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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