Questions tagged [full-site-editing]
The full-site-editing tag has no usage guidance.
60 questions
0
votes
0
answers
18
views
Disable TwentyTwentyFive styles in site editor
I would like to use TwentyTwentyFive theme as a parent theme and have created a child theme. I would like to disable the default styles inside the the folder twentytwentyfive/styles/*.json and ...
0
votes
0
answers
35
views
Query Loop block display multiple post types
Is there a way to display multiple post types from the Query Loop block in Gutenberg/FSE? I am trying to show content in date order (most recent first) from multiple post types. For instance, include ...
0
votes
0
answers
23
views
ACF Inside Interactivity block
I’ve been using the WordPress Interactivity API blocks for a few months and have found them useful and straightforward until now.
BUT For the past two days, I’ve been trying to display ACF (Advanced ...
0
votes
0
answers
55
views
Correct way of implementing complex navigation in Gutenberg
I am a bit lost in creating a block theme. I have read a lot about theme development and block development in the wordpress documentation and also at fullsiteediting and have some kind of ...
0
votes
1
answer
50
views
Load a custom post type template.html from a plugin
I'm using a Full Site Editing theme and have created a custom post type of 'walk', but I cant load a custom post type template.html from the plugin. I've put the single-walk.html in the '/templates' ...
0
votes
2
answers
85
views
Full Site Editing, Block Theme, Gutenberg, Site Editor
With all the different names and ways to edit a WordPress site I'm a bit lost as how to future proof my theme.
Let me explain a bit...
First off, I use WordPress professionally at my job, I use it as ...
0
votes
2
answers
129
views
FSE Change Post Template to Something Other Than a List
I'm currently building a hybrid theme and am having trouble with my post template. It keeps rendering as an unordered list when what I want is a div structure. Is there any way to change it so that ...
0
votes
0
answers
23
views
Get rendered HTML single view from post template
I'm not new to WordPress but I have a question for the Fullsite Editing / Gutenberg api.
We have a custom template (Single View => Post-Type) designed in the editor as a block theme. And now I want ...
0
votes
1
answer
344
views
Extending the Query Loop block
For client I need to create a simple 3x4 article grid that needs to have ads on fixed places instead of articles
X .. X .. Y
Y .. X .. X
X .. X .. X
X .. Y .. X
in example above Y is ad, and X is ...
1
vote
0
answers
72
views
Can't override individual Button Style once I have set a Global Style in the Full Site Editor
I want my button blocks by default to have uppercase text, but for the user to be able to select individual buttons to be lowercase.
In Global Styles (Full Site Editor > three dots top right > ...
0
votes
0
answers
26
views
Can you turn off Upload & Install Fonts in FSE?
Is it possible to turn off the Upload and Install Fonts from within WordPress fonts panel?
0
votes
1
answer
44
views
How to make FSE's query loop to order by comments number?
I apologise deeply if this topic already been answered here in the past. I have searched for an answer and couldn't find.
The question is regarding Gutenberg, FSE editor, block theme: is it possible ...
1
vote
0
answers
76
views
How to conditionally change template based on ACF field in WordPress 6.5 with FSE theme?
I'm currently working with WordPress 6.5 and using a Full Site Editor (FSE) theme. I need to dynamically change the template of a page based on the value of an Advanced Custom Fields (ACF) custom ...
2
votes
0
answers
30
views
Any way to set user role permissions in the site editor?
Is there any way to set specific permissions in the site editor for user roles? I have a block theme and want to give editor roles the permissions to edit templates, but not to add or delete them. I ...
1
vote
0
answers
28
views
Cannot filter search result on custom post type
I am not sure how to put this question, but I am trying to explain it.
I created a WordPress block theme which has a search module. The keyword-based search returns expected result without any issue. ...
1
vote
0
answers
63
views
Passing context to core/navigation-link
I am extending default navigation with theme styles, i need to be able to modify output based on context, where navigation is used.
I tried following the guide about context, but it seems to be not ...
0
votes
0
answers
62
views
How to only show sub-categories of current category (FSE, block editor)
On my Categories archive pages, I'd like to show the subcategories of the current category.
This is with Twenty Twenty Three (Full Site Editing theme) and block editor, so I'm looking for a block ...
0
votes
1
answer
81
views
How do I access the current post object within a block theme template or pattern?
How should I be able to query things like specific metadata or any other thing from the post object? Apparently I don't have access to basic functions like get_the_ID() or similar functions inside ...
0
votes
0
answers
49
views
Add block templates (html) via plugin for custom post type
I'm writing a plugin that provides a custom post type. I am currently trying to create the block templates for the "single" and the "archive" associated with the custom post type ...
0
votes
2
answers
1k
views
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, but I simply cannot figure out how to display such fields within a post or page (without a plugin).
...
1
vote
1
answer
53
views
How do I add unique id values to query loop block post template tags?
I am using WordPress 6+ with a full-site editor theme.
I need to add the post slug as the id for each post in the query loop block.
Must I extend the block for such a trivial task?
1
vote
0
answers
98
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
283
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
383
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
27
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
1
answer
37
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
148
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
234
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
172
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 ...
1
vote
1
answer
297
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 ...
1
vote
1
answer
129
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: ...
1
vote
2
answers
525
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
225
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'...
3
votes
1
answer
1k
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 ...
1
vote
2
answers
1k
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
409
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 ...
2
votes
0
answers
892
views
Custom WP Rewrite Rules and Templates Incompatible with Full Site Editing Themes
WP Rewrite Rules, Custom Templates, and Full Site Editing Themes Compatibility
I'm developing a WordPress plugin that adds a custom rewrite rule using add_rewrite_rule() and loads a custom template ...
1
vote
1
answer
297
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 ...
3
votes
1
answer
1k
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
37
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
59
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
136
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
988
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
232
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 ...
3
votes
2
answers
2k
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 -->
<...
2
votes
1
answer
909
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
55
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
332
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
134
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
2
answers
2k
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 ...