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
oxyc
January 5, 2020, 11:46pm
2
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
system
Closed
January 29, 2020, 2:35am
3
This topic was automatically closed after 42 days. New replies are no longer allowed.