Examples for extending WordPress/Gutenberg with blocks.
Switch branches/tags
Nothing to show
Clone or download
ajitbohra Add plugin manifest to each example (#47)
 Plugin manifest added to all examples for independent usage 

Reference #36 (comment)
Latest commit 35e0bf6 Nov 7, 2018


Gutenberg Examples


Examples for extending Gutenberg with plugins which create blocks.

See also: Gutenberg developer documentation


Gutenberg Examples are distributed as WordPress plugin.

  1. Download a pre-built zip archive of the latest release.

    Do not download from the "Clone or download" GitHub button, as this includes the source material only. Read the Development instructions below if you’re interested in building your own copy of the plugin.

  2. Navigate to the Plugins > Add new screen in your WordPress administrative dashboard.
  3. Click Add New at the top of the page.
  4. Click Upload Plugin at the top of the page.
  5. Click Choose File, then find and Upload the downloaded zip file.
  6. After the plugin finishes installing, click Activate.
  7. You’re done!


First, you need a WordPress Environment to run the plugin on. The quickest way to get up and running is to use the provided docker setup. Install docker-ce and docker-compose by following the most recent instructions on the docker site.

In the folder of your preference, clone this project and enter the working directory:

git clone git@github.com:WordPress/gutenberg-examples.git
cd gutenberg-examples 

To bring up this local WordPress instance run:

docker-compose up -d

The WordPress should be available at http://localhost:9999

To stop this local WordPress instance later run:

docker-compose stop

For each of the examples that include an esnext example the following commands are required to build the plugins:

To install the node packages

npm install

To build the production version of the plugin

npm run build

To build a development version of the plugin and watch changes for automatic rebuild

npm run dev

Code is Poetry.