What is full site editing?

Full site editing is the ability to use blocks outside the content.

You will build the entire layout using blocks –everything you see on a page is a block.

With full site editing, you will use HTML files instead of PHP files, and block comments and markup instead of PHP functions in your templates.

A page can consist of a single template, following to the template hierarchy, -or a combination of template parts.

A new site editor where you can preview, edit and create templates is available. When a user makes changes to a template, the templates are saved and can be used even if the theme is changed.

Transcript

What is full site editing?

Full site editing is the ability to use blocks outside the content.

With full site editing you will create the entire page layout using blocks.

Everything you see on a page is a block.

[ Screen: A screenshot of a theme with a sidebar, and the text: The “Sidebar” is created using a columns block ]

Full site editing also comes with a new set of blocks,
including a site title block and a post content block.

We will look closer at these blocks later.

[ Screen: A screenshot of a the block selector with names and icons of some of the new blocks ]

One of the differences between a full site editing theme,
and a PHP based theme, is that you will be using HTML files
instead of PHP files for your templates.

[ Screen: Index.php points to index.html. Single.php points to single.html ]

Instead of using a function to display for example a post thumbnail,
you will be adding the block comment and markup for that block.

The structure of the theme remains the same.

You will use templates for your main files, like index and archive,
and template parts for sections like header, content area, sidebar or footer.

Each section is a block of its own, or a block containing other blocks.

[ Screen: A screenshot of a Site title block and a paragraph wrapped inside a group block ]

One of the most important changes is the new site editor.
Here you will be able to preview a layout, and select and edit template parts.

Changes are saved as custom post types,
and they are theme independent.

The customized templates and template parts
are available even after you switch themes.

A user will be able to edit for example their header, add a new menu,
and reuse the same block structure in a different theme.