Gutenberg block editor - martindubenet/Wordpress GitHub Wiki

Features

  • Default blocks
    1. Common Blocks
    2. Embeds
    3. Formatting
    4. Layout Elements
    5. Widgets
  • Optional blocks (needs to be enable)
    1. My Custom Blocks

Native Gutenberg Blocks

Read this to overview all that Gutenberg as to offer : « WordPress Gutenberg Blocks List, Toolbars and Options ».

 

Create a common custom blocks via Gutenberg

The contents of these custom blocks are statics. If you edit it in a specific post it is gonna get updated in EVERY pages or posts where it has been used.

  1. Whether you are in a Page or a Post does not matter for the following instructions, just make sur to publish it at the end,
  2. Position yourself within the Guteinberg editor,
  3. Make a content that you want to reuse in other pages or posts. Wheter your content is created from View or HTML mode does not matter.
  4. From the Guteinberg contextual menu, chose the following options in that same order:
    1. Create a group,
    2. Save as a custom block.
  5. Name it. This name is gonna be helpful to access it quickly via the Block Searchbar.
  6. Publish the page where this block has been created first,
  7. From there your custom block is listend under the «My Custom Blocks».

Example from Advanced Custom Fields (ACF) on how to register a custom block type using their acf_register_block_type() function with their block API v2.

 

Theme Support

Native parameters

  • custom-background
  • custom-header
  • custom-header-uploads
  • custom-logo
  • html5
  • post-formats
  • post-thumbnails
  • responsive-embeds
  • starter-content
  • title-tag

 

Gutenberg Components

Tutorials

Blocks Development

 

Gutenberg Block Pattern to replace Page Builder plugins

The time has come. The WordPress Gutenberg block editor has become reliable enough to power your existing website. You can now eschew that aged page builder plugin in favor of a native content editor.

  1. Learn the Gutenberg Block Pattern API : https://developer.wordpress.org/block-editor/developers/block-api/block-patterns/
  2. Create a simple Gutenberg Block Pattern in WordPress : https://speckyboy.com/create-simple-gutenberg-block-pattern-wordpress/
  3. Switch from a Page Builder to the WordPress Gutenberg Block Editor : https://speckyboy.com/page-builder-wordpress-gutenberg-block-editor/

Coding parallax effects via Gutenberg

  1. Add Parallax Effect to Background Image by Gutenberg Editor
  2. How to Create a Parallax Scrolling Effect on Any WordPress Theme > Method 2: Parallax Scrolling Effect With CSS