Donโt Be Afraid
of Gutenberg
ย
ย
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Where is Gutenberg Now?
- v3.9.0 released 4 days ago
- Over 450k tracked downloads
-
6,264ย posts created yesterday*
-
High Growth since WP v4.9.8
-
https://gutenstats.blog/

obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Where is Gutenberg Now?
- Not without issues
- Gutenberg is still in beta

obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Where is Gutenberg Now?
- Yoast SEO has begun Gutenberg-only features
- Structured Data for Local SEO & WooCommerce SEO
- Expect more popular plugins to follow soon.

obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Where is Gutenberg Now?
- Editor Styles for blocks - easier for theme authors
- https://github.com/WordPress/gutenberg/pull/9008
- Continual improvements on development
A theme author would write:
h2 { color: red; }
ย
The injected CSS would be
.editor-block-list__block h2 { color: red; }
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Backwards Compatibility
- Classic Editor
https://wordpress.org/plugins/classic-editor/ - Gutenberg Ramp
https://wordpress.org/plugins/gutenberg-ramp/ - Custom Post Types & Custom Meta ๐
- Non-editor plugins are fine too
-
Developers can deprecate old blocks!
https://wordpress.org/gutenberg/handbook/block-api/deprecated-blocks/
ย
ย
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Looking Forward
- Genesis is updating in sync with Gutenberg
https://studiopress.blog/the-future-of-gutenberg-and-genesis/ -
WordPress.com has begun user opt-in
https://wptavern.com/gutenberg-is-slowly-rolling-out-to-wordpress-com-users -
Blocks are becoming easier to find and use
https://editorblockswp.com/
https://gutenbergcloud.org/ย (even cross-CMS!)
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
What to Watch For
- Classic Editor
https://wordpress.org/plugins/classic-editor/ - Gutenberg Ramp
https://wordpress.org/plugins/gutenberg-ramp/ - Custom Post Types & Custom Meta ๐
- Non-editor plugins are fine too
-
Developers can deprecate old blocks!
https://wordpress.org/gutenberg/handbook/block-api/deprecated-blocks/
ย
ย
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
Editor Styles
โ
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
/**
* Enqueue Gutenberg block editor style
*/
function my_gutenberg_editor_styles() {
wp_enqueue_style(
'my-block-editor-styles',
get_stylesheet_uri() . '/style-editor.css',
false,
'1.0',
'screen'
);
}
add_action(
'enqueue_block_editor_assets',
'my_gutenberg_editor_styles'
);
Editor Styles Continued
โ
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
function my_setup_theme_supported_features() {
add_theme_support( 'editor-color-palette', array(
array(
'name' => __( 'strong magenta', 'theme' ),
'slug' => 'strong-magenta',
'color' => '#a156b4',
),
array(
'name' => __( 'light grayish magenta', 'theme' ),
'slug' => 'light-grayish-magenta',
'color' => '#d0a5db',
),
array(
'name' => __( 'very light gray', 'theme' ),
'slug' => 'very-light-gray',
'color' => '#eee',
),
) );
}
add_action( 'after_setup_theme', 'my_setup_theme_supported_features' );
Custom Page Templating
โ
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com
function myplugin_register_book_post_type() {
$args = array(
'public' => true,
'label' => 'Books',
'show_in_rest' => true,
'template' => array(
array( 'core/image', array(
'align' => 'left',
) ),
array( 'core/heading', array(
'placeholder' => 'Add Author...',
) ),
array( 'core/paragraph', array(
'placeholder' => 'Add Description...',
) ),
),
);
register_post_type( 'book', $args );
}
add_action( 'init', 'myplugin_register_book_post_type' );
Additional Information
โ
obm.io/gutenfear ๐พ @DavidWolfpawย ๐พ fixupfox.com