# Full Site Editing (FSE) Full Site Editing is the WordPress 6.x feature set that lets you build and edit *every* part of a site — headers, footers, templates, and global styles — with blocks in the Site Editor, instead of relying on PHP theme files and the classic Customizer. ## Why it matters Before FSE, the theme's PHP templates (`header.php`, `footer.php`, `single.php`) and the Customizer controlled layout, and editing them meant touching code or hunting through theme options. FSE moves that whole surface into the block editor: a site admin can restructure the header, swap a template part, or change site-wide typography visually, with no `functions.php` edits. For administrators this changes the security surface too — layout is now data in the database and `theme.json`, so control shifts from file permissions toward editor capabilities. ## How it works FSE requires a **block theme** — a theme that ships HTML block-markup templates in a `/templates` and `/parts` folder plus a `theme.json` configuration file, and declares support via its structure rather than `add_theme_support()` calls. Default themes since **Twenty Twenty-Two** (through Twenty Twenty-Five) are block themes. Classic themes with a `style.css` header and PHP templates do **not** expose FSE and keep using the Customizer. The building blocks of FSE are: - **Templates** — full-page layouts (Single Post, Page, 404, Archive, Index). - **Template parts** — reusable regions like Header and Footer, shared across templates. See [Template-Parts](Template-Parts.md). - **Global styles** — site-wide colors, typography, spacing, and per-block defaults, backed by [theme-json](theme-json.md). See [Global-Styles](Global-Styles.md). - **Patterns** — pre-built block arrangements you insert and adapt. See [Block-Patterns](Block-Patterns.md) and [Synced-Patterns](Synced-Patterns.md). ## Configuration FSE has no on/off toggle — it appears automatically when a block theme is active. With one active, open **Appearance → Editor** to launch the [Site-Editor](Site-Editor.md). ![WordPress Appearance menu showing the Editor entry that opens the Site Editor for a block theme](images/appearance-editor-menu.png) From the Site Editor you can: - **Edit templates** — navigate to Templates, pick one (e.g. Single), and edit its blocks. - **Edit template parts** — open a Header/Footer part once and have the change propagate everywhere it is used. - **Edit Styles** — click the styles (half-moon) icon to change global colors, fonts, and spacing, or apply a bundled *style variation*. > [!NOTE] User changes vs theme defaults > Edits made in the Site Editor are stored in the database as `wp_template` and `wp_global_styles` posts, overriding the theme's file-based defaults. Use the three-dot menu's "Clear customizations" to revert a template to what the theme ships. ## FSE vs the classic Customizer | | Classic Customizer | Full Site Editing | |---|---|---| | Theme type | Classic (PHP templates) | Block theme required | | Edits | Widgets, menus, theme options | Every template + global styles | | Storage | Theme mods / options | Block markup + `theme.json` in DB | | Interface | Live-preview sidebar | Block canvas (Site Editor) | | Menus | Menu screen / Customizer | Navigation block | > [!TIP] When to use which > Use **FSE** for greenfield sites, editorial teams who want visual control, and designs that fit block layouts. Stay on a **classic theme + Customizer** when you depend on a heavily customized PHP theme, page builders (Elementor, Divi), or plugins whose settings still live in the Customizer. Migrating a live classic site to a block theme is a redesign, not a toggle — test on staging. ## Security considerations - Access to the Site Editor is gated by the `edit_theme_options` capability — by default only Administrators. Do not grant it broadly; an editor who can rewrite template parts can inject markup site-wide. - FSE templates can embed shortcodes and the Custom HTML block, so template edits are an execution path. Restrict who can edit templates the same way you restrict plugin installs. See [Automatic-Background-Updates](Automatic-Background-Updates.md). - Because layout now lives in the database, back it up with your normal DB backups; a corrupted `wp_global_styles` entry can be recovered via [Recovery-Mode](Recovery-Mode.md). ## Troubleshooting - **No "Editor" menu item** — the active theme is a classic theme; FSE needs a block theme. - **Changes do not appear** — a caching layer or CDN may be serving old markup; purge caches. - **Broken layout after editing** — use "Clear customizations" on the affected template to restore theme defaults. ## References - WordPress Developer Docs — Block Editor Handbook: Full Site Editing - WordPress Theme Handbook — Block Themes and `theme.json` - Learn WordPress — Builder Basics: Site Editor ## Related - [Site-Editor](Site-Editor.md) — the interface that drives FSE - [Block-Themes](Block-Themes.md) — the theme type FSE requires - [theme-json](theme-json.md) · [Global-Styles](Global-Styles.md) · [Template-Parts](Template-Parts.md) — the FSE building blocks - [Gutenberg-Block-Editor-Deep-Dive](Gutenberg-Block-Editor-Deep-Dive.md) — the block editor FSE is built on - [Readme](../Readme.md) — course index