Full Site Editing (FSE) - All You Need To Know - P1 - Overview
Tags: wordpress, site, editing, gutenberg
Published: 2021-08-03 01:42:28

When WordPress 5.0 was introduced at the end of 2018, the familiar Classic editor of WordPress was replaced by a new one called <strong>Gutenberg</strong>. This new editor is a significant change in creating content on WordPress websites by using blocks instead. But that's just the beginning.

<!--more-->

Do you remember the <a href="https://gutenbergtimes.com/mullenweg-on-gutenberg-roll-out-plan/">four phases of Gutenberg</a>?

<ol>

   <li>Easier Editing -- already in Core, refinement is ongoing</li>

   <li>Customization -- Full Site editing, Block Patterns, Block Directory, Block based themes</li>

   <li>Collaboration -- A more Google Doc co-authoring;</li>

   <li>Multi-lingual -- Core implementation for Multi-lingual sites.</li>

</ol>

After nearly 3 years, it is likely that Gutenberg gradually completed phase 2 by releasing the most important feature - <strong>Full Site Editing</strong> in <a href="https://wordpress.org/news/2021/07/tatum/">WordPress 5.8</a> on July 20th, 2021. In fact, it was first introduced in early 2020 via an experiment program.

<h2>What is Full Site Editing?</h2>

<strong>Full Site Editing (FSE)</strong> is a concept referring to the ability to <strong>build an entire website based on using blocks</strong>. Actually, it is a collective term for a set of new WordPress features that are under development: Block themes, Template editing, and Global styles.

With FSE, there is no need to move back and forth between Customizer, Widget, Menu, ... to customize your website anymore. It provides a place named <strong>Site Editor</strong> to do all the things those sections do. It means that <strong>you can create all pages or all your website from only one place</strong>. And with FSE, website building becomes so simple, just <strong>drag and drop blocks</strong>.

In the future, sections like Customizer may also no longer exist on WordPress. Instead, <strong>blocks will be everywhere</strong>, not only in the content area as ever before.

<img class="aligncenter" src="https://i.imgur.com/r7cTeHG.png" alt="you can create all pages or all your website from only one place of Full Site Editing FSE" width="1366" height="768" />

WordPress users probably need to change their habits. No matter who you are, a developer, a designer, a theme or plugin author, or just a user, you should follow this trend.

<h2>Common concepts of Full Site Editing (FSE)</h2>

<h3>Blocks</h3>

Blocks have not been strange anymore since Gutenberg was born. They can be paragraphs, images, videos, audios, ... in a post. You can drag and drop to move and arrange them in order or columns, even groups.

Now, blocks have more useful features in FSE. You can use them to create global elements such as site logo, tagline, header, footer, menu, sidebar, etc. Blocks are no longer a part of the content only but gradually become primary sections to build a complete WordPress website.

Whether Blocks for content or creating websites, they allow you to create both static and dynamic content. For dynamic content, Block will display the corresponding content to different users or in different positions, ... as any rule you set. For example, this Query Loop Block displays a list of blog posts or CPT.

<img class="aligncenter" src="https://i.imgur.com/0UAkIti.png" alt="example for dynamic data of blocks: Query Loop Block displays a list of blog posts or CPT" width="1366" height="768" />

<h3>Block Patterns and Reusable Blocks</h3>

<a href="https://developer.wordpress.org/block-editor/reference-guides/block-api/block-patterns/">Block Patterns</a> group different blocks together in a complete layout. It means that all these blocks have been created, arranged, formatted, configured, ... then combined into a defined and refined sample that can be used immediately.

You can save Block Patterns for reuse later on both posts and pages. Therefore, you can create complicated sections of content for posts or pages with just a few clicks. So easy!

When applying a Block Pattern, you can edit its content or settings without affecting other sections created before from it.

<img class="aligncenter" src="https://i.imgur.com/Vsgb9Ba.png" alt="When applying a Block Pattern of FSE, you can edit its content or settings without affecting other sections created before from it" width="1366" height="768" />

Almost similar to Block Patterns are Reusable Blocks. Users can create a block with predefined content and settings, then save it to reuse. Such blocks are called Reusable Blocks. However, for this type of block, once you change it from a page, it will lead to the changes of all these blocks on the website. This is slightly different from Block Patterns.

It is recommended to combine Block Patterns and Reusable Blocks for more convenient and optimal use, not just using either.

<h3>Templates / Block Templates</h3>

As we know, a WordPress website can have various templates, and each one is a separate file. <a href="https://developer.wordpress.org/themes/basics/template-hierarchy/">Template Hierarchy</a> decides which template or set of templates should be used to display the page.

Templates have been in the form of PHP files so far. But now HTML is used in FSE. The content of template files now is a list of block items, so they are called Block Templates.

<img class="aligncenter" src="https://i.imgur.com/mbSDrQL.png" alt="in FSE, the content of template files now is a list of block items, so they are called Block Templates" width="1366" height="768" />

A template of a traditional theme would have this structure:

<pre>├── theme-name

│ ├── template-parts

│ │ ├── content.php

│ ├── templates

│ │ ├── template-cover.php

│ │ ├── template-full-width.php

│ ├── index.php

│ ├── style.css</pre>

An FSE theme would have this structure:

<pre>├── theme-name

│ ├── block-template-parts

│ │ ├── header.html

│ │ ├── footer.html

│ ├── block-templates

│ │ ├── index.html

│ ├── index.php

│ ├── style.css</pre>

<h4>User-Defined Template</h4>

Users can create their own templates from the Site Editor thanks to FSE. They can see live changes on the website when doing so. So that, they will not need to create any child theme, touch code, or hire a developer as they used to.

In particular, these user-defined templates will be saved to the database as a custom post type named wp_template. Thus, they can be exported and imported into another website for reusing. It is so convenient to use the same templates if you have a bunch of websites.

<img class="aligncenter" src="https://i.imgur.com/UA7yzIi.png" alt="Users can create their own templates from the Site Editor thanks to FSE" width="1366" height="768" />

<h4>Block Themes / Block-Based Themes</h4>

<blockquote><em>"A block theme is a WordPress theme with templates entirely composed of blocks so that in addition to the post content of the different post types (pages, posts, ...), the block editor can also be used to edit all areas of the site: headers, footers, sidebars, etc."</em> - <a href="https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/">Gutenberg Handbook</a>.</blockquote>

<span style="text-decoration: underline;"><strong>Note:</strong></span> From the early days of the experiment, <strong>Block Themes</strong> were called <strong>Block-Based Themes</strong>, so you may see this name somewhere.

For instance, the <a href="https://wordpress.org/themes/tt1-blocks/">TT1 Blocks</a> theme is a Block Theme version of Twenty Twenty-One. It has the following file structure:

<img class="aligncenter" src="https://i.imgur.com/FxkZqui.png" alt="Structure of a Block Theme, TT1 Blocks theme" width="1366" height="768" />

You can see that the core of these block themes will be block templates and block template parts. And, of course, they all are in the form of HTML files. These sections keep the same concept as in the traditional themes. But, the Block Template Parts are separated into individual modules because they will appear more than once in different templates.

Currently, there are not too many block themes, and most of them are trials. You can refer to:

<ul>

   <li><a href="https://wordpress.org/themes/tt1-blocks/">TT1 Blocks</a></li>

   <li><a href="https://github.com/WordPress/theme-experiments/tree/master/twentytwenty-blocks">Twenty Twenty Blocks</a></li>

   <li><a href="https://github.com/aristath/q"><span style="font-weight: 400;">The Q theme</span></a></li>

   <li><a href="https://wordpress.org/themes/block-based-bosco/"><span style="font-weight: 400;">Block-based Bosco</span></a></li>

</ul>

<h3>Global Styles</h3>

Global Styles has been integrated into the Site Editor. You can change the website appearance by editing every element of the entire website in Global Styles such as color, size, typo, background, etc., or choose the style by each block type without access to each page or Customizer.

That's why it is reckoned that Customizer will be omitted in the future because Global Styles can replace it.

<img class="aligncenter" src="https://i.imgur.com/LqQowZU.png" alt="Global Styles has been integrated into the Site Editor of FSE" width="1366" height="768" />

An interesting thing is that we will use <strong>theme.json</strong> file to create options in the Global Styles panel. It is a configuration file located in the root directory of the theme and used to create presets. If you have an intention of developing a block theme, learn more about <strong>theme.json</strong> <a href="https://fullsiteediting.com/lessons/global-styles/#h-the-theme-json-file">here</a>.

<h2>How to experience Full Site Editing (FSE)</h2>

Do you want to try FSE? It is essential to know that although WordPress 5.8 has FSE, it hasn't included all the existing FSE features yet. You need to use the MVP version if you want to experience more.

The MVP is offered via the <a href="https://make.wordpress.org/test/handbook/full-site-editing-outreach-experiment/">FSE Outreach Program</a>. You can join it to update and early experience the new versions. To test FSE, you will need the following:

<ul>

   <li>Recommend the local install;</li>

   <li>WordPress, versions from 5.7.1;</li>

   <li>A block theme (choose one from the above list);</li>

   <li><a href="https://wordpress.org/plugins/gutenberg/">The Gutenberg plugin</a>, versions from 10.5;</li>

</ul>

After installing, you will see the Site Editor (beta) menu in your Dashboard.

<img class="aligncenter" src="https://i.imgur.com/xiqQhXx.png" alt="After installing, you will see the Site Editor (beta) menu in your Dashboard" width="1366" height="768" />

Let's start to dig into FSE.

FYI, you can also refer to the below tutorial video to see FSE in practice and experience of other developers in the community:

<ul>

   <li>Enrique Piqueras: <a href="https://youtu.be/JyX2toCQaGk?t=336">Themes and the Full Site Editing experience for WordPress (experimental)</a> (23/01/2020);</li>

   <li>Kjell Reigstad: <a href="https://youtu.be/6IRSHypI_ew?t=697">Block-Based Theme / Full-Site Editing</a> (26/06/2020);</li>

   <li>Joen Asmussen: <a href="https://www.youtube.com/watch?v=5FYv0sUec-A">Demo of the Site Editor at State of the Word</a> (17/12/2020);</li>

   <li>Kjell Reigstad: <a href="https://www.youtube.com/watch?v=S-6c-TrTC6Y">Introduction into block-based Themes</a> (20/01/2021).</li>

</ul>

If you want to share your experience about FSE, join the <a href="https://make.wordpress.org/test/handbook/full-site-editing-outreach-experiment/">FSE Outreach Program</a>, <a href="https://github.com/wordpress/gutenberg/">Github</a>, or <a href="https://wordpress.slack.com/archives/C015GUFFC00">#fse-outreach-experiment</a> on Slack.

<h2>Personal Thoughts About FSE</h2>

By releasing FSE, it seems that WordPress is tending to cater to a larger group of users who are non-coding. WordPress is gradually simplifying the website building process with simple drag and drop operations and no touching code so that anyone can use it.

There were quite a few barriers in customizing whether they were tiny edits on separated blocks or the website. Now, FSE helps WordPress users to create layouts in a much more flexible and convenient way.

As for <strong>website implementers</strong>, this will probably be a prominent competitive advantage of WordPress compared to other platforms on the market such as Wix, Weebly, or Squarespace.

How about <strong>designers and agencies</strong>? They will have more time creating designs with better UI/UX, more unique, more conformity with the customer requirements. Quite a lot of benefits, alright?

For those <strong>who make themes or plugins</strong> like me, FSE is likely to be a little disadvantaged. It solves most of the tasks done by theme developers. Meanwhile, plugins also may change to be compatible. However, in fact, I am not too worried about this change at all. FSE is just in the early stages. There will be more time for us to learn, adapt, and gradually change the products. So, stay tuned, keep updating further information, and reading the documents related to FSE.

<h2>Last but not least</h2>

I hope that this article will help you have a better overview of the upcoming trends in WordPress as well as understand Full Site Editing (FSE). Since this project is still under development and testing, I will regularly update news about it on this blog.

This is such an interesting topic that lots of people pay attention to, so I'll not stop here. I'm going to have more in-depth articles on comparing and evaluating the efficiency and speed of websites when using Gutenberg, or resources related to block themes. Keep track of our blogs!