Hello Blocks! Coding a custom block

One response on “Hello Blocks! Coding a custom block

  1. Elizabeth Meyer

    Maybe worthwhile to note here that this isn’t true anymore: “Blocks must be registered from a plugin. Themes cannot register blocks.”

    Even though WordPress recommends “… pairing blocks with WordPress plugins rather than themes, because only using plugin ensures that all blocks still work when your theme changes.” it is now possible to register blocks from inside a theme.

    See documentation for –no-plugin mode here:
    https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/

    Like

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Published

March 29, 2022

Have you always wanted to create your own Gutenberg block but didn’t know where to start? Or, maybe you tried and found the process daunting or confusing? If so, then this intermediate learn-up is for you! We are going to use Replit.com for this session to allow attendees to use their web browser to work in a pre-configured WordPress installation.

Rate this:

Speakers

Ryan Welcher 4

Language

English 9545

Download
MP4: Low, Original
Subtitles
TTML: English
Subtitle this video →
Producer
%d bloggers like this: