WP Gutenberg notes

Collection of notes and thoughts on Wordpress Gutenberg blocks development.

Gennaio 9, 2023

Gutenberg is a new WordPress editor that is included in WordPress 5.0 and beyond. It is a block-based editor that allows users to create content in blocks, rather than the traditional WordPress editor which is based on single text area. Blocks can be used to create all types of content, from simple text to complex layouts.

But who was Gutenberg?

Johannes Gutenberg was a German blacksmith, goldsmith, printer, and publisher who is credited with inventing movable type printing in Europe around 1440. His invention of the printing press and mechanical movable type printing played a crucial role in the development of the Renaissance and the scientific revolution, and laid the material basis for the modern knowledge-based economy and the spread of learning to the masses.

Gutenberg for wordpress is a revolution?

Yes, Gutenberg for WordPress is a revolution in terms of creating content within the WordPress ecosystem. It’s more powerful and intuitive way of creating content than the traditional, more restrictive WordPress editor.

Even if Gutenberg editor is designed to be easy for developers to use, it is based on React which is really different world from usual wp developement process, so it requires some efforts to switch to Gutenberg. It’s worth it.

This is a collection of notes about developing blocks for Gutenberg Editor

Well here are some links used during the development of my AI plugin for WordPress.

Author

PHP expert. Wordpress plugin and theme developer. Father, Maker, Arduino and ESP8266 enthusiast.

Recommended

Test page for Bright Links plugin

To test the plugin hover your mouse to a link, or tap the link on mobile device.

Dicembre 4, 2022

Updating a metabox after Gutenberg updates

When press on "Update" refresh a custom metabox under gutenberg editor.

WP doesn’t send email? try this

Snippets for sending emails with Wordpress

Febbraio 8, 2020

Two post types share the same taxonomy in WordPress

Sharing a WordPress taxonomy between two post types is useful especially if you want to create a relation between different…

Novembre 14, 2019

Modify the language attribute based on category in WordPress

How to modify the language attribute in your Wordpress theme using a specific value

Novembre 7, 2019

WordPress Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

How I've beat the php mysterious fatal error unknown in Wordpress caused by caching plugin WP Fastest Cache