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
43 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
2 votes
0 answers
19 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
20 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
20 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
33 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
0 answers
31 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
19 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
228 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
23 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
12 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
20 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
65 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
  • 101
0 votes
2 answers
138 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
173 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,400
0 votes
1 answer
23 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
0 answers
44 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 ...
neoswf's user avatar
  • 125
0 votes
1 answer
32 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
103 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
110 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
119 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
166 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
77 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
321 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
154 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'...
Didier Sampaolo's user avatar
0 votes
0 answers
63 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 ...
dooley's user avatar
  • 36
0 votes
0 answers
182 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
  • 341
2 votes
1 answer
596 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
  • 308
0 votes
2 answers
886 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
303 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
1 vote
0 answers
766 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 ...
Ahmad Wael's user avatar
1 vote
1 answer
167 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
737 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
  • 341
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 ...
user4630's user avatar
  • 245
3 votes
1 answer
55 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
  • 341
3 votes
0 answers
114 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
711 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
192 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
2 votes
2 answers
1k 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
  • 161
1 vote
1 answer
667 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
  • 161
0 votes
0 answers
51 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
260 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
93 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
  • 161
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
67 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
96 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,939
0 votes
1 answer
69 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
  • 307
3 votes
1 answer
1k 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
83 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
1 vote
0 answers
111 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 ...
Ibrarr Khan's user avatar
0 votes
1 answer
395 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 ...
aristhought's user avatar