Sage 10: Block based theme support?

I noticed that in sage10 dev branch already support has been added for Gutenberg specific features,
there are also some Gutenberg related PHP libraries from some contributors.

Is it also planned to make Sage 10 support Block based theme support?
https://developer.wordpress.org/block-editor/developers/themes/block-based-themes/
This seems to be an exciting way to also unify Customizr-features and Sidebars to block areas.

1 Like

To get <theme>/block-templates/*.html files to work you can add the following filter which fixes the paths

add_filter('template_include', function ($template_file) {
    global $_wp_current_template_hierarchy;
    $_wp_current_template_hierarchy = array_map('basename', $_wp_current_template_hierarchy);
    return $template_file;
}, 19);
1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.