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.
September 24, 2022 at 5:02 am |
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/
February 9, 2023 at 8:31 am |
Would it be possible to add a future lesson no how to create inner blocks? For example if we create a custom block unordered list. I would want each list item to also be a block. Is this possible today?