Skip to main content

Questions tagged [full-site-editing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 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 ...
yfain's user avatar
  • 63
0 votes
1 answer
129 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 ...
Kresimir Pendic's user avatar
1 vote
0 answers
19 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 > ...
Sarah's user avatar
  • 445
0 votes
0 answers
22 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?
user4630's user avatar
  • 245
0 votes
1 answer
27 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 ...
neoswf's user avatar
  • 125
1 vote
0 answers
66 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 ...
Caribou's user avatar
  • 11
2 votes
0 answers
27 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 ...
DoHu13's user avatar
  • 21
1 vote
0 answers
25 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. ...
Subrata Sarkar's user avatar
1 vote
0 answers
34 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 ...
Sam Tyurenkov's user avatar
0 votes
0 answers
47 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 ...
Audun Myhra Bergwitz's user avatar
0 votes
1 answer
41 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 ...
thebigJ's user avatar
0 votes
0 answers
27 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 ...
jshwlkr's user avatar
  • 512
0 votes
2 answers
625 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). ...
YCode's user avatar
  • 125
0 votes
0 answers
29 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?
Mike Ritter's user avatar
0 votes
0 answers
16 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 ...
H KH's user avatar
  • 1
0 votes
0 answers
22 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 ...
Azad Khan's user avatar
0 votes
0 answers
77 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 ...
Colin's user avatar
  • 111
0 votes
2 answers
192 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 ...
Joshua JJ S's user avatar
2 votes
1 answer
241 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 ...
WebElaine's user avatar
  • 9,475
0 votes
1 answer
25 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 ...
neoswf's user avatar
  • 125
0 votes
1 answer
33 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/...
joshuaiz's user avatar
  • 115
2 votes
0 answers
116 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 ...
Ben Marshall's user avatar
1 vote
0 answers
166 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 ...
zigojacko's user avatar
  • 242
0 votes
1 answer
141 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 ...
Stefan Krüger s-light's user avatar
0 votes
1 answer
213 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 ...
Vladan's user avatar
  • 101
0 votes
1 answer
94 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: ...
Tropical Bottle's user avatar
1 vote
2 answers
395 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 ...
nicknoop's user avatar
0 votes
0 answers
197 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'...
breadwild's user avatar
  • 361
3 votes
1 answer
783 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 ...
Arete's user avatar
  • 318
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 ...
Rick Hellewell's user avatar
0 votes
1 answer
355 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 ...
porg's user avatar
  • 111
2 votes
0 answers
842 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 ...
Ahmad Wael's user avatar
1 vote
1 answer
212 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 ...
Bas's user avatar
  • 121
3 votes
1 answer
872 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 ...
breadwild's user avatar
  • 361
1 vote
0 answers
36 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 ...
user4630's user avatar
  • 245
3 votes
1 answer
56 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 {"...
breadwild's user avatar
  • 361
3 votes
0 answers
126 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": { ...
Alan Brown's user avatar
3 votes
1 answer
825 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&...
Web Assembler's user avatar
1 vote
0 answers
210 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 ...
Tien Nguyen Van's user avatar
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 --> <...
Dannyboy's user avatar
  • 171
1 vote
1 answer
778 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 &...
Dannyboy's user avatar
  • 171
0 votes
0 answers
52 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 ...
Darren's user avatar
  • 101
1 vote
1 answer
283 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 ...
Thomas Owens's user avatar
1 vote
1 answer
112 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?
Dannyboy's user avatar
  • 171
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 ...
SePröbläm's user avatar
5 votes
0 answers
70 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 - ...
anick's user avatar
  • 151
1 vote
1 answer
106 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 = ...
dingo_d's user avatar
  • 1,950
0 votes
1 answer
77 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 ...
Fanky's user avatar
  • 317
3 votes
1 answer
2k 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->...
Akshay K Nair's user avatar
2 votes
0 answers
100 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 ...
andowt's user avatar
  • 121