I added add_theme_support( ‘wp-block-styles’ ); and the folder templates with, at least, the file index.html to allow it. With a virgine theme, I’m able to do it but with your theme, no. It’s a custom version of your theme but normally, It is suppose to work well.
There is an issue/PR for Sage 10 + FSE support:
opened 03:57PM - 24 Oct 21 UTC
editor
* [x] I've read the [guidelines for Contributing to Roots Projects](https://gith… ub.com/roots/.github/blob/master/CONTRIBUTING.md)
* [x] This request isn't a duplicate of an existing issue
* [x] I've read the [docs](https://roots.io/documentation/) and followed them (if applicable)
* [x] This is not a personal support request that should be posted on the [Roots Discourse](https://discourse.roots.io/) community
## Description
Full Site Editing (FSE) with Sage 10 theme loads a blade template in frontend, no Website editor blocks are shown.
## Steps to reproduce
1. Ensure a Sage 10 theme is present and enabled.
2. Enable Full Site Editing (FSE) support in the Sage 10 theme.
3. Add some modifications to the Website editor.
4. Add/edit a page (front page).
5. Open the front page on frontend.
Note that the site blocks from the Website editor are not loaded, instead the default blade-based template.
**Expected behavior:**
Frontend shows the blocks from website editor.
**Actual behavior:**
Frontend doesn't show the blocks from website editor, but the default blade template instead.
**Reproduces how often:**
Always.
## Versions
`1.16.1: 2021-07-30`
## Additional information
Latest Gutenberg plugin `11.7.1`.
The previous code for adding compatibility for Full Site Editing (FSE) doesn't work (anymore):
```php
// Sage 10 + Gutengberg Full Site Editing (FSE) template compatibility
// @see https://discourse.roots.io/t/sage-10-block-based-theme-support/17294/2?u=strarsis
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);
````
There are still some inconsistencies with the Gutenberg plugin.
What kind of issue occurs? Does the Full Site Editing part in backend doesn’t appear?
Are FSE block templates or block parts not loaded?
Mostly, I dont have the Editor in themes that allow me to handle the template, etc.
neoswf
September 22, 2023, 12:26am
7
@chacha_admin have you ever managed to solved this?
This is a Sage 10 FSE theme, but the same rules should apply for Sage 9 (specific files in place), this may be helpful: