6 votes
Accepted

How to add code to `head` with WordPress 5.9 FSE (Full Site Editing)

As far as I understand the wp_head and wp_footer actions should still work under FSE in WP 5.9+, through the template canvas PHP file that's loaded through the locate_block_template(). That PHP file ...
birgire's user avatar
  • 66.9k
4 votes

Where can I find the definitive list of core blocks in html form

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 ...
Jacob Peattie's user avatar
4 votes
Accepted

Full Site Editing (FSE) - How do I display no results with wp:query?

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 ...
Jacob Peattie's user avatar
4 votes
Accepted

Any way to use classic Menus in Full Site Editing?

Is there any way to enable the Appearance->Menus in the admin dashboard while FSE theme is enabled I noticed that in some FSE themes the classic Menus admin page shows up under Appearance: when ...
birgire's user avatar
  • 66.9k
3 votes
Accepted

Where are the full site settings stored?

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 ...
Jacob Peattie's user avatar
2 votes

How do I add custom CSS animations for specific Gutenberg blocks?

Many blocks allow you to add a class and/or an ID. If you select the block in the Editor, then look on the right side of the screen under the Advanced tab, it will often show "HTML Anchor" (...
WebElaine's user avatar
  • 9,380
2 votes

Should you directly edit Template Parts and Templates from themes?

Must be create a child theme otherwise when you update theme then all modification file will be remove. Here is the best tutorial for how to make a WordPress child theme https://www.elegantthemes.com/...
Shiddikur Rahaman's user avatar
2 votes
Accepted

In Full Site Editing, how do I get the templates I created to appear in the site editor when populating a new page?

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 ...
Jacob Peattie's user avatar
2 votes
Accepted

Prevent executing query for wp_global_styles

I know this is a somewhat old question, but it's a good one that doesn't have an answer, so here goes... The first feasible/sensible entry point to all the above code in the call stack is the ...
tfrommen's user avatar
  • 9,211
2 votes
Accepted

Set a default overlay color for the Core Cover block in theme.json

Unfortunately, this is not yet possible. This has been requested at https://github.com/WordPress/gutenberg/issues/27809 and if you have a github account, you can subscribe to the issue and keep track ...
Will's user avatar
  • 749
2 votes

Using <!-- wp:shortcode -->[my_shortcode]<!-- /wp:shortcode --> in FSE template file

This was a bug introduced in WordPress 6.2.1, and was resolved in WordPress 6.2.2.
Jacob Peattie's user avatar
1 vote
Accepted

How to display WordPress Twenty Twenty-Four's built-in custom field in a post (or page)?

WordPress's Twenty Twenty-Four theme makes it possible to add custom fields directly in the editor This UI is not coming from TwentyTwentyFour, and was added to WP decades ago: https://wordpress.org/...
Tom J Nowell's user avatar
  • 58.9k
1 vote
Accepted

Best approach to create a customized page

The only reason custom templates would not be searchable is if they stored significant amounts of content in postmeta fields, instead of the main content field. To have customizable layouts whose ...
WebElaine's user avatar
  • 9,380
1 vote

Unload templates; disable parent Template Parts using only "theme.json"

Does anyone have any suggestions on how to disable certain template parts in a child theme using theme.json in WordPress with Gutenberg? Using only theme.json this is not possible, and runs counter ...
Tom J Nowell's user avatar
  • 58.9k
1 vote

How to add arbitrary custom CSS to a Wordpress Block Theme using Site Editor?

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 ...
porg's user avatar
  • 111
1 vote
Accepted

Full site editing templates folder vs block-templates

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/...
Bas's user avatar
  • 121
1 vote
Accepted

Get postId in a wordpress pattern file?

In block themes patterns won't have access to context such as id it seems: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-patterns One has to create a custom block to ...
Dannyboy's user avatar
  • 161
1 vote

block theme FSE - save changes to the theme?

I've done a lot of digging into the subject and looks like they were working on some updates to Gutenberg that would allow them to be saved onto the filesystem: youtu.be/8Vj_Oh6jMHw?t=281. But those ...
Dannyboy's user avatar
  • 161
1 vote
Accepted

Wordpress Full Site Editing: How can I access my posts listing page?

Yes it sounds like there might be some sort of disconnect, as the template editor doesn't make this clear, but keep in mind that FSE is still marked as being in Beta in the latest version of WordPress....
Jacob Peattie's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible