Calling get_header() with installed FSE theme
Calling get_header() with installed FSE theme
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
When creating a page template in Appearance > Editor you can add a Post Content block. This is where the page content goes. Everything else is part of the template and applies to all Pages that use the template. When you go to Pages > All Pages and select a page to edit, or use … Read more
There’s no definitive list that I’m aware of. If you want to get the markup for a block the only reliable way to do that is to insert it into the editor and then copy the result to the clipboard. You cannot assume that all blocks are “<!– wp: plus post-title plus optional attributes {tag: … Read more
How can I disable fontSizes of the Paragraph block inside the Quote block with theme.json?
There is a No Results block that can be added to the query loop block. Any inner blocks added to it will be displayed when there are no results. Most blocks are supported as inner blocks. Here’s the markup of an example where I added a group block containing a paragraph block: <!– wp:query-no-results –> … Read more