Questions tagged [full-site-editing]
The full-site-editing tag has no usage guidance.
45
questions
0
votes
0
answers
10
views
where the setting is stored in FSE, not theme.json
I added a custom font to the TT4 theme via theme.json. I'm not able to see the font name when I go to Editor>Styles in Typography I cannot see the font. But once I go to my host and rename a folder ...
0
votes
0
answers
19
views
WordPress Page Width Issue: Seeking Solutions
Hello Google Help Community,
I am facing an issue with my WordPress website, specifically with two pages - "About Us" and "Guest Post."
These pages are currently aligned to the ...
0
votes
0
answers
23
views
How can I insert block content between post templates within the query loop block?
On a custom post type archive page how do you hook into the query loop block to, for example, add a CTA between the 3rd and 4th item in the list?
Article #1
Article #2
Article #3
Subscribe to our ...
0
votes
2
answers
47
views
Add fontFamily object to theme.json
I have an FSE-related question
I'm trying to add a font to the 2023 theme but it's not showing in Gutenberg editor.
In theme.json, in the "settings.typography.fontFamilies" section, I added ...
2
votes
1
answer
77
views
Set a default overlay color for the Core Cover block in theme.json
I would like to know if it is possible to set a default Overlay color for the Core Cover block using theme.json, so that when a new Cover block is added, that Overlay color is pre-set rather than ...
0
votes
1
answer
20
views
Best approach to create a customized page
I'm at the beginning of recreation of a WordPress website that:
Has 15 informative pages (not posts)
A dynamically updated examination index, that refreshes nightly via cron.
Serves visitors in three ...
0
votes
0
answers
30
views
How to always show Prev/Next links, inside pagination pattern?
WordPress full site editing. How to always display the “prev page” & “next page”, in the pagination? Currently, the prev-page/next-page, hides when there's no prev/next posts in the query loop.
Is ...
0
votes
1
answer
26
views
Default RichText Editor custom block fails validation
I am creating a custom block and just trying to get a RichText component working.
I'm using the code as it is shown in the block editor handbook here: https://developer.wordpress.org/block-editor/...
2
votes
0
answers
68
views
How to position a Popover component based on the user's caret position?
Been working on this for a few days and about half way there, see https://stackoverflow.com/questions/76425306/wordpress-gutenberg-popover-how-to-position-at-the-cursor
Basically, I've been able to ...
1
vote
0
answers
56
views
Editing templates in an FSE theme
If I edit a template file in a FSE theme, why don't I see the changes in the backend Site Editor or frontend?
I am assuming that I should...?
For example, the highlighted block here I copied to ...
0
votes
1
answer
48
views
Custom Link Block with own background color
WP-Theme: Twenty Twenty-Three
with child theme for modifications.
i would like to build a navigation that looks like this:
for this i used the Navigation-block with Custom Link Blocks
and with the ...
0
votes
1
answer
67
views
Unload templates; disable parent Template Parts using only "theme.json"
I'm currently creating a child theme in WordPress and I'm having trouble with template parts and custom templates from parent theme. In particular, I want to disable some of the template parts ...
0
votes
1
answer
39
views
Position tab missing in the Block Theme Editor
Hello,
Using WordPress 6.2.2 with a custom block theme created from scratch, and I'm trying to make my header sticky. And what I thought would be an easy task then became a challenge.
I got to find: ...
0
votes
1
answer
168
views
Using <!-- wp:shortcode -->[my_shortcode]<!-- /wp:shortcode --> in FSE template file
Does anyone know how I can insert a shortcode directly into a FSE template file, e.g. my-theme/templates/page-contact.html?
I have been trying [my_shortcode], but it does not seem to work.
If I try to ...
0
votes
0
answers
86
views
Block to show posts from same category
I'd like to create a block to display posts (in my sidebar) from the same category as the current post.
I tried to use a blockVariation on core/query, but I don't know how to pass it the current post'...
0
votes
0
answers
34
views
Adding copyright notice to page bottom in full site editing template
I am adding a function, a copyright notice, to my full site editing theme.
I initially tried a shortcode and added shortcode as a block in the footer within site editor. This renders the notice just ...
0
votes
0
answers
152
views
After update to 6.2, FSE Editor is using only `contentSize`, ignoring `wideSide` setting
Before 6.2 my editor (at least for this site and theme):
offered the ability to set the width for each new block with a dropdown showing "narrow", "wide", "full" (I can'...
2
votes
1
answer
300
views
Where are the full site settings stored?
When making changes in the full site editor, where are the settings actually stored?
When searching for this I get a gazillion results saying the settings are stored in theme.json, but this can't be ...
0
votes
2
answers
474
views
Disabling Full Site Editor (FSE)
WP version 6.2 (almost released) has many new features, including a more enhanced Full Site Editor (FSE). I'm not familiar enough with FSE, but wondering about the effect of FSE and 6.2 on customized ...
0
votes
1
answer
181
views
How to add arbitrary custom CSS to a Wordpress Block Theme using Site Editor?
When using a Block Theme then you can use the Site Editor, accessible via: Wordpress Dashboard > Appearance > Editor. — Introduced in Wordpress 5.9 on 2022-01-25.
Site Editor > Styles (right ...
0
votes
0
answers
473
views
Calling get_header() with installed FSE theme
I'm working on a plugin that adds a custom WP rewrite rule using add_rewrite_rule() and I'm loading a custom template for that rule using template_include hook and passing the template path to that ...
1
vote
1
answer
102
views
Full site editing templates folder vs block-templates
I have a modified Bedrock installation that moves the theme folder outside of the wp-content folder (and the normal app folder for Bedrock). In this setup, the app folder has a data folder that is the ...
0
votes
0
answers
195
views
How to change mobile menu (toggle) icon in Wordpress - Full Site Editing?
How to change mobile menu (burger) icon on Wordpress 6 using their new full site editing feature or possibly with some plugin?
I would like to replace their default burger and close icons to add ...
3
votes
1
answer
363
views
In Full Site Editing, how do I get the templates I created to appear in the site editor when populating a new page?
I have created a Page template in the Appearance > Editor after creating a Header template part. In this Page template, I set up columns, image placeholders, text and headline placeholders, page ...
1
vote
0
answers
34
views
Full Site Editing Non-editble global styles?
Working my way through learning FSE, I'm using this this article and wondered what to do for global styles you don't want user control over?
Previous this would be controlled via style.css however, it ...
3
votes
1
answer
52
views
Where can I find the definitive list of core blocks in html form
I have been to GitHub, but the documentation there is not what I'm looking for. I'm looking more this:
<!-- wp:post-featured-image /-->
<!-- wp:post-title /-->
<!-- wp:spacer {"...
3
votes
0
answers
104
views
How can I disable fontSizes of the Paragraph block inside the Quote block with theme.json?
I'm using theme.json.
I'm specifying fontSizes for the Paragraph block as well as the Quote block in theme.json:
"settings": {
"blocks": {
"core/paragraph": {
...
3
votes
1
answer
560
views
Full Site Editing (FSE) - How do I display no results with wp:query?
I have inherited a theme which is built with FSE. Inside index.html which is set to display the blog posts, I have a query as such:
<!-- wp:query {"tagName":"main","queryId&...
1
vote
0
answers
159
views
Update Content for a Custom Block Toolbar Button
I am trying to create a custom button on the Block Toolbar of the Full Site Editor. This button could insert custom content to paragraphs, button text, or headings. But I don't know how to finish my ...
1
vote
2
answers
843
views
Get postId in a wordpress pattern file?
How can I get post data or just post Id inside of a pattern?
I've created the following pattern file:
<?php
/**
* Title: Post link
* Slug: mytheme/post-link
*/
?>
<!-- wp:html -->
<...
0
votes
1
answer
435
views
How to add custom menu to block theme?
I'm creating a theme based on the 2023 block theme from WordPress 6.1.
I need to create a custom menu as the built-in one is too limited for me.
I initially thought I can just enter the menu under &...
0
votes
0
answers
48
views
Full site editor, hard-coded IDs in query blocks, and staging/dev servers
Problem
I'm using the full site editor for a new site. This site has several query blocks which show specific categories. The query block hard-codes the IDs of these categories into the template HTML ...
1
vote
1
answer
219
views
Should you directly edit Template Parts and Templates from themes?
Themes designed for the Editor, such as the Twenty Twenty-Three theme, come with various Template Parts (such as a Header, Footer, and Post Meta) and Templates (such as Home, Index, Search, 404) for ...
1
vote
1
answer
65
views
block theme FSE - save changes to the theme?
I'm using WordPress 6.1 and trying out FSE.
When editing block theme in FSE - is it possible to just save changes to the same theme without having to export the theme first?
2
votes
1
answer
1k
views
How to set the background color of a template part (Header/Footer) in Twenty Twentythree?
In Wordpress's shiny new Twenty Twentythree theme, how can you assign a background color to the header or foother template parts?
Can this be done in a child theme - through theme.json? Or somehow ...
5
votes
0
answers
61
views
How to move the customizations done in the Editor to my child theme?
Dashboard -> Appearance -> Editor -> 3-dots menu -> Export lets one download a zip file, which contains the folders parts and templates that - according to various online tutorials - ...
1
vote
1
answer
77
views
Prevent executing query for wp_global_styles
I'm inspecting a site I'm maintaining using query monitor plugin and I noticed this query being executed:
SELECT
wp_posts.ID
FROM
wp_posts
LEFT JOIN wp_term_relationships ON (wp_posts.ID = ...
0
votes
1
answer
51
views
Narrow paragraph block aligned to left of "wrapper"
I'm using the full-site-editing feature with
"layout":{
"contentSize":"1264px",
"wideSize":"1264px"
}
set in theme.json. Now when I ...
3
votes
1
answer
936
views
Any way to use classic Menus in Full Site Editing?
I use an FSE theme and as you might know the Navigation block is pretty limited. I want to implement a custom mega-menu-ish navigation for a big website.
Is there any way to enable the Appearance->...
2
votes
0
answers
56
views
Correct way to make a custom block theme responsive
I am trying to make a custom responsive theme using the new Block / FSE approach however I dont think the method Im using is correct.
This is the current design:
This is the view in block editor:
In ...
1
vote
0
answers
102
views
How to link ACF relationship field to the new Query block in Full Site Editing
I am using the new Query block on WordPress Full Site Editing and I am trying to figure out how to connect that to the ACF relationship field.
So I have an ACF field on my category that allows the ...
0
votes
1
answer
255
views
How do I add custom CSS animations for specific Gutenberg blocks?
I am not building a theme from scratch and am using a given Wordpress template that allows for full site editing with Gutenberg block editor.
I have been able to add custom CSS (using the Additional ...
0
votes
1
answer
32
views
Wordpress Full Site Editing: How can I access my posts listing page?
In WordPress 6.0, I've created a block based theme using fullsiteediting.com's theme generator. It had a default homepage which listed posts. Within the block editor (sidebar->Templates->Add New ...
0
votes
1
answer
153
views
How to display the post categories for each post inside the loop with custom format?
I'm trying to create a shortcode to display the post categories with custom format (ex.: I need to display emoji acf field before each category).
I'm using version 6.0 of WordPress and the Full Site ...
4
votes
2
answers
2k
views
How to add code to `head` with WordPress 5.9 FSE (Full Site Editing)
Like adding Google Analytics code, and some other things surrounding the <head> tag, how's all this done in FSE as there's no header.php? Should I use functions.php for everything?
(Also can ...