Using [my_shortcode] in FSE template file
Using in FSE template file
Using in FSE template file
Adding copyright notice to page bottom in full site editing template
No, because the site editor is turned off by default. Unless you’re building a block theme, or declare that your theme supports block templates in PHP/theme.json, it doesn’t apply to you. WP version 6.2 (almost released) has many new features, including a more enhanced Full Site Editor (FSE). This is not true, 6.2 removes the … Read more
How to change mobile menu (toggle) icon in WordPress – Full Site Editing?
Calling get_header() with installed FSE theme
After update to 6.2, FSE Editor is using only `contentSize`, ignoring `wideSide` setting
When you make modifications to templates the new HTML of the template is saved as a custom post type with the wp_template post type. This is then used instead of the version stored in the theme directory. The same is true template parts, except the post type for those is wp_template_part. When you modify global … Read more
In WordPress 6.1.1 (released 2022-11) this is not possible in the UI. But good news: In WordPress 6.2 (to be released somewhen March 2023) this will be possible! Was introduced as an experimental feature in Gutenberg 14.8 from 2022-12 (see video ) It works like this: WordPress Dashboard > Appearance > Editor Open the Styles … Read more
Full Site Editing Non-editble global styles?
After some more checking, I found the issue. The repo I was setting up, was a template that will be used by other sites, so I saved it in a folder called templates (Full path: /Users/bas/git/work/templates/wp). In the wp-includes/block-template-utils.php the name/slug of the template is decided with the following code. $template_slug = substr( $template_file, // … Read more