{"id":60587,"date":"2024-04-28T13:13:33","date_gmt":"2024-04-28T11:13:33","guid":{"rendered":"https:\/\/jesusyesares.com\/?p=60587"},"modified":"2026-11-27T18:22:31","modified_gmt":"2026-11-27T17:22:31","slug":"understanding-the-create-block-theme-plugin","status":"publish","type":"post","link":"https:\/\/jesusyesares.com\/en\/web-seo\/understanding-the-create-block-theme-plugin\/","title":{"rendered":"Understanding how the Create Block Theme plugin works"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">For those of us who have been watching <strong>WordPress<\/strong> evolve for a few years now (and I&#8217;m far from the oldest around), since <strong>Full Site Editing<\/strong> came into our lives we&#8217;ve been constantly amazed. If someone had told me 10 years ago that today I could <strong>create a WordPress theme<\/strong> without touching a single line of code, from absolute scratch or starting from any block theme, I wouldn&#8217;t have believed it for a second.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, that&#8217;s what the official community plugin <strong><a aria-label=\"Create Block Theme (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/create-block-theme\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"ek-link\">Create Block Theme<\/a><\/strong> lets you do. The only problem is that you need to understand certain concepts about how <strong>Full Site Editing<\/strong> (<strong>FSE<\/strong> from now on) works, so you don&#8217;t end up throwing yourself off the Eiffel Tower after failing to create a new design. Let alone a theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A small warning.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Since the same thing could happen to you as happened to me, let me warn you before it does.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To work with this plugin, under no circumstances should you have WordPress debug mode enabled in any of its &#8220;flavors&#8221;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>define( 'WP_DEBUG', false );<\/code><\/li>\n\n\n\n<li><code>define( 'SCRIPT_DEBUG', false );<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you had them enabled, you&#8217;d find that you can work, but at some point, probably sooner rather than later, the plugin won&#8217;t do things correctly and you&#8217;ll have thrown your work away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#8217;t say I didn&#8217;t warn you \ud83d\ude09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How does Full Site Editing work at the most basic level?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The first thing to understand is what happens when we add design to our site using <strong>block patterns<\/strong>. As you may know, WordPress has a database with different tables, and if you didn&#8217;t know, I&#8217;m telling you now. Without going into detail, one of those tables is <code>wp_posts<\/code>. It stores many things related to content, such as <em>custom post types<\/em>, but also <strong>block patterns<\/strong>, among many other things.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A quick aside: to write this post, I created a site from scratch locally (with the help of <strong><a aria-label=\"Local (opens in a new tab)\" href=\"https:\/\/localwp.com\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"ek-link\">Local<\/a><\/strong>), and I made changes to the site while watching how those changes were reflected both in the <code>wp_posts<\/code> table and in the folder of the active theme. For this, I used the <a aria-label=\"Powder (opens in a new tab)\" href=\"https:\/\/wordpress.org\/themes\/powder\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"ek-link\">Powder<\/a> theme by Brian Gardner, a simple theme that offers interesting design patterns.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The initial version of the theme I installed was 1.0, so I could update it and see what happened, whether I lost changes, and so on. This way I was able to explore and understand how this great plugin works. End of aside.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Back to what we were talking about. With a fresh WordPress install, the <code>wp_posts<\/code> table had only four records, which grew to eight when I created a home page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Naturally, after installing the Powder theme, creating a <strong>template<\/strong> for the home page and adding several patterns to make that page look half decent, the table gets a few more records. So we start with a table of ten records.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;galleryId&quot;:&quot;6b0a3ea24c30c&quot;}\" data-wp-interactive=\"core\/gallery\" class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea24f75b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea24f75b\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"473\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" data-id=\"40244\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f01-tabla-posts-wordpress-recien-instalado-1024x473.webp\" alt=\"wp_posts table of a freshly installed wordpress\" class=\"wp-image-40244\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f01-tabla-posts-wordpress-recien-instalado-1024x473.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f01-tabla-posts-wordpress-recien-instalado-300x139.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f01-tabla-posts-wordpress-recien-instalado-768x355.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f01-tabla-posts-wordpress-recien-instalado.webp 1080w\" fetchpriority=\"high\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">wp_posts table with a fresh WordPress install<\/figcaption><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea24fbcb&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea24fbcb\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"510\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" data-id=\"40245\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f02-tabla-posts-powder-instalado-1024x510.webp\" alt=\"f02 posts table with powder installed\" class=\"wp-image-40245\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f02-tabla-posts-powder-instalado-1024x510.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f02-tabla-posts-powder-instalado-300x149.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f02-tabla-posts-powder-instalado-768x383.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f02-tabla-posts-powder-instalado.webp 1080w\" fetchpriority=\"low\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">wp_posts table with Powder installed and the home page design done.<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">From here, we begin our tour of <strong>Create Block Theme<\/strong> and try to understand its internal effects on WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The new Create Block Theme menu: cross-cutting options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Previously, <strong>Create Block Theme<\/strong> was used from the WordPress admin panel, under <strong>Appearance &gt; Create Block Theme<\/strong>, where you could do tasks such as creating a child theme, cloning the theme, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But recently (at the time of writing), that screen tells us to go to the <strong>Site Editor<\/strong>, where we&#8217;ll find a new menu that brings together all of CBT&#8217;s features, and the old panel will be removed in the near future.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It makes sense, since everything related to design should happen in the <strong>Site Editor<\/strong>. The menu looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"1024\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme-671x1024.webp\" alt=\"Create Block Theme plugin menu in the editor\" class=\"wp-image-40263\" style=\"width:446px;height:auto\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme-671x1024.webp 671w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme-197x300.webp 197w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme-768x1171.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme-1007x1536.webp 1007w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f03-menu-create-block-theme.webp 1280w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">The plugin&#8217;s menu in the block editor<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To keep things simple, let&#8217;s go over the minor features and those that cut across the rest, from least to most important. Don&#8217;t worry: although it may seem confusing, it&#8217;s better this way because we&#8217;ll use these features later, and I don&#8217;t want to interrupt the explanation of the complex part to explain a minor feature.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">View theme.json<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The foundation of block themes is a file called <code>theme.json<\/code>. It&#8217;s a data file in JavaScript Object Notation that stores the theme&#8217;s main design settings. For example, if you choose a particular color style, if you also add a custom color for your brand, if you add your brand&#8217;s typeface (that could fill another post), etc. All <strong>that information is stored in the <code>theme.json<\/code> file<\/strong>, which you&#8217;ll normally find in the root of the active theme or child theme. We&#8217;ll talk about that later too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This option is nothing special: it simply <strong>lets us view the <code>theme.json<\/code> file,<\/strong> so we can check whether there&#8217;s anything odd that we&#8217;ve noticed while working on the design.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea250b9a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea250b9a\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1439\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-scaled.webp\" alt=\"f04 view theme json\" class=\"wp-image-40275\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-scaled.webp 2560w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-300x169.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-768x432.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-1024x576.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-1536x863.webp 1536w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f04-ver-theme-json-1-2048x1151.webp 2048w\" fetchpriority=\"low\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">f04 view theme json<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s true that it&#8217;s code, but it&#8217;s very simple code, very similar to CSS or even easier to understand.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Theme Metadata<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No secrets here. As you know, when you install a theme, it comes with a set of metadata:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Title<\/li>\n\n\n\n<li>Description<\/li>\n\n\n\n<li>Author<\/li>\n\n\n\n<li>Author&#8217;s website<\/li>\n\n\n\n<li>The author&#8217;s life story&#8230;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Here you get the chance to edit this data, which will be saved in the theme files. So keep in mind that <strong>if we change the metadata of a parent theme, when a new update arrives we&#8217;ll lose all the changes<\/strong> we made.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Export Zip<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This one&#8217;s clear: it <strong>creates a <code>.zip<\/code> file that we download<\/strong> to our computer. If a parent theme is active, we can take this <code>.zip<\/code> straight to any other WordPress site and install it as a theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If it&#8217;s a child theme, obviously the parent theme will need to be installed<\/strong> for the theme&#8217;s design to show up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Options for consolidating changes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Having seen the minor (but not trivial) options, and going against every content creation rule that says important things first and less important things last, let&#8217;s look at two options that are essential for understanding the theme creation features the plugin offers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Save Changes to theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Seems pretty obvious, right? <strong>Save the changes to the theme<\/strong>. But where do we save them? If you read the first section and didn&#8217;t hop ahead like a grasshopper, I explained at the start that any change we make in the Site Editor, any new pattern we create, any new template we create, etc., is saved in the database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is something we&#8217;ve always tried to avoid. The less in the database, the better. Well, yes, but it&#8217;s not that big a deal. However, if we have a super-complicated design, we may end up building a monster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This option <strong>consolidates all the changes we&#8217;ve made into files inside the theme<\/strong>. But let&#8217;s see which changes we can save.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you click this plugin option, a submenu appears with some boxes checked and others unchecked. The menu looks roughly like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"2560\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-scaled.webp\" alt=\"Submenu of the save changes to theme option\" class=\"wp-image-40265\" style=\"width:420px;height:auto\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-scaled.webp 846w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-768x2323.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-99x300.webp 99w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-508x1536.webp 508w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f05-submenu-save-changes-to-theme-677x2048.webp 677w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">The default options of Save Changes to Theme.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Each option does the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Save Fonts<\/span><\/strong>: Since WordPress 6.5 we can manage fonts locally. This option saves the <strong>active fonts<\/strong> to the theme and removes the inactive ones from it.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Save Style Changes<\/span><\/strong>: If we check this box, the <strong>global styles<\/strong> we&#8217;ve configured in the editor will be saved to our theme.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Save Template Changes<\/span><\/strong>: Exactly the same as the previous box but for <strong>templates and<\/strong> <strong>template parts<\/strong>.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Process Only Modified Templates<\/span><\/strong>: It will process <strong>only the templates we&#8217;ve modified<\/strong> in the editor, not the rest.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Localize Text<\/span><\/strong>: <strong>Any text<\/strong> we change in a template will be copied to a pattern and <strong>saved locally in the theme<\/strong>.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Localize images<\/span><\/strong>: Like the previous option, <strong>if we add an image to the theme&#8217;s design, it will be saved with the theme<\/strong> so it can be moved along with it and we don&#8217;t end up with an orphaned image when installing the theme on another site. These images are saved <strong>in a local folder<\/strong> inside the theme called <code>\/assets<\/code>.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Remove Navigation Refs<\/span><\/strong>: Removes any theme references, returning the navigation block to its default state.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Naturally, the first four options are enabled by default, and the rest will depend on whether we&#8217;ve changed any of the elements they affect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The important thing to understand about this option is that <strong>when we run it, the changes are saved in the active theme&#8217;s folder<\/strong>. For example, on the test site I&#8217;ve been working on, we can see that two files change:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"342\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f06-ficheros-modificados-con-save-changes-1024x342.webp\" alt=\"Files modified with save changes\" class=\"wp-image-40266\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f06-ficheros-modificados-con-save-changes-1024x342.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f06-ficheros-modificados-con-save-changes-300x100.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f06-ficheros-modificados-con-save-changes-768x256.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f06-ficheros-modificados-con-save-changes.webp 1280w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">With Save Changes, these files would be modified.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the one hand, the <code>front-page.html<\/code> file changes, which is nothing more than the HTML dump with Gutenberg block notation.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea251af4&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea251af4\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"509\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f07-template-front-page-html-1024x509.webp\" alt=\"This is what the front page template file looks like in html\" class=\"wp-image-40267\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f07-template-front-page-html-1024x509.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f07-template-front-page-html-300x149.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f07-template-front-page-html-768x382.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f07-template-front-page-html.webp 1280w\" fetchpriority=\"low\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">This is what the template file&#8217;s HTML looks like.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the other hand, the other file that has changed is, naturally, <code>theme.json<\/code>, where all the style settings that were being stored in the database have been saved.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"693\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f08-theme-json-guardado-en-el-tema-1024x693.webp\" alt=\"We can see some changes inside the theme json saved in the theme.\" class=\"wp-image-40268\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f08-theme-json-guardado-en-el-tema-1024x693.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f08-theme-json-guardado-en-el-tema-300x203.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f08-theme-json-guardado-en-el-tema-768x520.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f08-theme-json-guardado-en-el-tema.webp 1280w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">Changes made in theme.json.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">All of this will be removed from the database. <strong>Or not, because in the different tests I ran, the behavior varied from one to another<\/strong>. Keep in mind that the plugin is under constant development and is an experimental plugin, at least at the time of writing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Watch out, there&#8217;s one very important thing to keep in mind. <strong>What happens if we update the theme?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If we&#8217;ve gone in all guns blazing and saved all the <strong>changes directly to the parent theme<\/strong> we liked and installed in the first place, we&#8217;ll lose everything. Remember that both plugins and themes, <strong>when updated, wipe out all the files from the previous version<\/strong> and replace them completely, since settings are stored in the database.<\/li>\n\n\n\n<li>However, if we&#8217;ve been good, we&#8217;ll have created a <strong>child theme<\/strong>, which inherits the parent theme&#8217;s properties, so the parent theme will be updated but <strong>our changes will be preserved<\/strong> in the child theme.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">I think you&#8217;re starting to see the right way to work with this plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Theme Variation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This option is meant for when, starting from one of the theme&#8217;s style variations, we customize it with our own fonts, brand colors, etc., and want to create a new theme variation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>This isn&#8217;t for layouts, but for basic design settings<\/strong>. That is, what we see in the style variations we can choose in the sidebar of the style editor.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea25247e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea25247e\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"684\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f09-theme-variation-saved.webp\" alt=\"View of the sidebar with the style variations.\" class=\"wp-image-40269\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f09-theme-variation-saved.webp 1280w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f09-theme-variation-saved-300x160.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f09-theme-variation-saved-768x410.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f09-theme-variation-saved-1024x547.webp 1024w\" fetchpriority=\"low\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Style variations.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When we decide to save a variation of the global styles with the Create Theme Variation option, a window like this appears in the editor:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"1024\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options-832x1024.webp\" alt=\"Create theme variations dialog box\n\" class=\"wp-image-40270\" style=\"width:348px;height:auto\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options-832x1024.webp 832w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options-244x300.webp 244w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options-768x945.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options-1248x1536.webp 1248w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f10-create-theme-variation-options.webp 1280w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">This is the window that appears when we&#8217;re about to save a style variation.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And when we save, <strong>our changes will be stored in a <code>.json<\/code> file<\/strong> with the name we gave that style variation, <strong>inside the theme&#8217;s <code>\/styles\/<\/code> folder<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"2560\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-scaled.webp\" alt=\"Location of the style variation in the theme's folder\" class=\"wp-image-40271\" style=\"width:363px;height:auto\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-scaled.webp 927w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-768x2120.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-109x300.webp 109w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-371x1024.webp 371w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-556x1536.webp 556w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f11-theme-variation-customized-742x2048.webp 742w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">Location of the style variation&#8217;s .json file in its folder.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, when we save to the file, the entries that had been recorded in the <code>wp_posts<\/code> table will be removed, since they&#8217;ve now been moved to the theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, if you consolidate these changes in the parent theme, you&#8217;ll lose them when you update it. But if you do it on a child theme, like civilized people, these changes will be kept regardless of updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When updating the parent theme, if you&#8217;ve done everything on it, some elements may keep the custom colors you assigned. That&#8217;s because those changes are stored in the database and not in the theme itself. That&#8217;s why they aren&#8217;t lost.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The theme creation options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Having seen the options for modifying themes, let&#8217;s now look at the options for creating themes in different ways.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Basically we have three options. Although you see two, Create Blank Theme and Create Theme, inside Create Theme you&#8217;ll actually find two more: Clone Theme and Create Child Theme.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Blank Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This option is clear: it&#8217;s the one that lets us <strong>create a theme completely free of styles<\/strong>. In fact, when you run it and the new theme is created, you&#8217;ll see that everything looks very bare. That&#8217;s because the basic files needed for a theme have been created, but nothing more: no styles, no fonts, no colors, absolutely nothing at all.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b0a3ea25310f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b0a3ea25310f\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"669\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f12-new-blank-theme-created.webp\" alt=\"f12 new blank theme created\" class=\"wp-image-40272\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f12-new-blank-theme-created.webp 1280w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f12-new-blank-theme-created-300x157.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f12-new-blank-theme-created-768x401.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f12-new-blank-theme-created-1024x535.webp 1024w\" fetchpriority=\"low\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">This is what the completely blank theme looks like.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re a designer and want to create a theme from scratch without touching any code, this is your option. Well, I won&#8217;t lie to you: you may end up having to touch a bit of code, but it&#8217;ll be CSS or not much more. Usually it won&#8217;t be necessary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Where is this theme created? As another folder inside <code>\/wp-content\/themes\/<\/code>, and this folder will contain the basic files a newly created theme needs. The theme will also appear in the WordPress admin like any other theme:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"557\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" data-id=\"40273\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f13-new-blank-theme-folder-1024x557.webp\" alt=\"Folder of the new blank theme\" class=\"wp-image-40273\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f13-new-blank-theme-folder-1024x557.webp 1024w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f13-new-blank-theme-folder-300x163.webp 300w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f13-new-blank-theme-folder-768x418.webp 768w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f13-new-blank-theme-folder.webp 1280w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">Folder of the new blank theme<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the other hand, keep in mind that from now on you&#8217;re footing the bill. That is, since it&#8217;s a new theme created by you, you&#8217;ll be responsible for any future updates needed to keep it compatible with new versions of WordPress, because nobody else will be sending you updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In principle, there shouldn&#8217;t be much trouble, but life changes and who knows what the future will bring.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This option is a bit absurd, and I wouldn&#8217;t rule out it changing and forcing me to update this post. Obviously, with the previous option we already created a theme, so what are we going to do now&#8230;? Exactly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inside this option there&#8217;s a submenu with two more options:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"994\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" src=\"http:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f14-create-theme-options.webp\" alt=\"Create Theme options\" class=\"wp-image-40276\" style=\"width:405px;height:auto\" srcset=\"https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f14-create-theme-options.webp 572w, https:\/\/jesusyesares.com\/wp-content\/uploads\/2024\/04\/f14-create-theme-options-173x300.webp 173w\" fetchpriority=\"low\" \/><figcaption class=\"wp-element-caption\">Create Theme options<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Clone Theme<\/span><\/strong>: With this option we <strong>clone the active theme<\/strong>, creating a new, similar theme, since it copies all of the original&#8217;s files. But be careful: just like with Create Blank Theme, it will no longer receive any kind of support, and <strong>updates will be up to us<\/strong>.<\/li>\n\n\n\n<li><strong><span style=\"text-decoration: underline;\" class=\"ek-underline\">Create Child Theme<\/span><\/strong>: You&#8217;ve probably guessed that this is my favorite option. It <strong>creates a child theme<\/strong>, with only the files needed to inherit the parent theme&#8217;s properties, and where the child theme&#8217;s particular features, which the parent theme doesn&#8217;t have, are saved.<br>Thanks to this option <strong>we can keep enjoying the updates the parent theme receives<\/strong>, and we only take care of the part we created ourselves.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With these theme creation options, keep in mind that for each theme on the site (even inactive ones), some records may be created in the <code>wp_posts<\/code> table.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Workflow<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we&#8217;ve seen all the plugin&#8217;s features, how would we work with it day to day? Let&#8217;s see.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Imagine your brother-in-law has a business with a hideous website, and you&#8217;re going to redesign it. First of all, we need to decide how we&#8217;re going to work:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Do we <strong>want to build a theme from scratch<\/strong> and are we able to keep that theme updated as WordPress receives updates in the future? In that case, our option is <strong>Create Blank Theme<\/strong>.<\/li>\n\n\n\n<li>Is there <strong>a theme we really like<\/strong> that we want to modify as we please, and <strong>do we feel able to keep updating it<\/strong> in the future? In that case, our option is <strong>Create Theme &gt; Clone Theme<\/strong>.<\/li>\n\n\n\n<li>Do we have a theme we really like and want to change its design, but the thought of having to keep updating it makes us groan? In other words, we&#8217;re in the &#8220;you do it, I can&#8217;t be bothered&#8221; camp. In that case, the option to choose is <strong>Create Theme &gt; Create Child Theme<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Right, we&#8217;ve made that all-important decision. We get down to designing and making changes to the theme. For example, we&#8217;ve added a font that didn&#8217;t come with the theme, <strong>changed the template designs<\/strong>, chosen a different global style from the one we were using, even modified a new design pattern&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We need to <strong>remember that all of this is saved in the database<\/strong>, but we want to be able to hand our new theme over to our brother-in-law, whose website is truly awful. So we&#8217;ll need to <strong>consolidate those changes into the theme<\/strong>. To do this, we use the <em><strong>Save Changes to theme<\/strong><\/em> option, saving all the changes as template files, the specific design changes in the theme.json file, and even the sample images we&#8217;ve added to the patterns we created, for example.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On top of that, our brother-in-law has terrible brand colors that don&#8217;t match any of the combinations the clever WordPress folks, or the creator of the theme we started from, have included among the many styles that usually come with it. So we&#8217;ve had to combine colors following aesthetic guidelines of questionable taste. We also need to change the text spacing, link colors and so on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;ll do all of this, but since we know it&#8217;s saved in the database, to consolidate it and finish perpetrating our theme, we&#8217;ll save it with <em><strong>Save Changes to theme<\/strong><\/em>. And all of this will be saved in a .json file with whatever name we want, inside the styles folder of the theme&#8217;s folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;re done, we&#8217;re proud (or maybe not so much) of our creation, and we want to share it with the world. First, make sure you fill in the metadata with the title, description, author, even the website, etc., by clicking <em><strong>Edit Theme Metadata<\/strong><\/em>. If you like, you can review theme.json in case you want to check something specific, using the <em><strong>View theme.json<\/strong><\/em> option, and finally you can export the theme with <em><strong>Export Zip<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If it&#8217;s a completely original theme or a clone of another theme, you can hand it straight to your brother-in-law without any problem. He&#8217;ll install it and, more or less, everything will match your design.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your theme is based on a parent theme and is a child of it, <strong>remind your brother-in-law that he must install the parent theme first<\/strong>, because otherwise he&#8217;ll call you within 30 seconds to tell you your theme is rubbish and doesn&#8217;t work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As you&#8217;ve seen, this plugin is wonderful and gives us incredible freedom when designing, without depending on any proprietary theme. What&#8217;s more, if you&#8217;re a designer, here&#8217;s a possible way to make money, for example by creating child themes for a well-known theme: <a href=\"https:\/\/wordpress.org\/themes\/powder\/\" target=\"_blank\" aria-label=\"Powder (opens in a new tab)\" rel=\"noopener nofollow\" class=\"ek-link\">Powder<\/a> is a good option, as is <a href=\"https:\/\/wordpress.org\/themes\/twentytwentyfour\/\" target=\"_blank\" aria-label=\"Twenty Twenty Four (opens in a new tab)\" rel=\"noopener nofollow\" class=\"ek-link\">Twenty Twenty-Four<\/a> itself, which is free.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or, if you have more development skills, you can clone a theme and change it until it&#8217;s unrecognizable, or start completely from scratch and create your own themes, supporting them and uploading them to the theme directory if you wish.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As for me, my preferred option is to choose a theme whose base I like, create a child theme and adapt it completely to what I need.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a table summarizing what each option involves.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Option<\/th><th>Type of option<\/th><th>What does it do?<\/th><\/tr><\/thead><tbody><tr><td>Save Changes to Theme<\/td><td>Consolidating changes<\/td><td>Saves the changes we&#8217;ve made to the design, block patterns, added fonts, etc. in the theme folder. It usually saves the templates (<code>.html<\/code>), the <code>theme.json<\/code> file with certain styles, and any <code>\/assets<\/code> we&#8217;ve added.<\/td><\/tr><tr><td>Create Theme Variation<\/td><td>Consolidating changes<\/td><td>Saves any new styles we&#8217;ve created as a <code>.json<\/code> file in the <code>\/styles<\/code> folder.<\/td><\/tr><tr><td>Edit Theme Metadata<\/td><td>Cross-cutting options<\/td><td>With this option we can add the theme credits and edit its metadata.<\/td><\/tr><tr><td>View <code>theme.json<\/code><\/td><td>Cross-cutting options<\/td><td>Here we can check the changes happening in <code>theme.json<\/code> as they happen.<\/td><\/tr><tr><td>Export Zip<\/td><td>Cross-cutting options<\/td><td>Exports the theme to a <code>.zip<\/code> file.<\/td><\/tr><tr><td>Create Blank Theme<\/td><td>Theme creation<\/td><td>Creates a completely new blank theme, with no styles.<\/td><\/tr><tr><td>Create Theme &gt; Clone Theme<\/td><td>Theme creation<\/td><td>Clones the active theme into a new folder; it will no longer receive updates when the original theme does.<\/td><\/tr><tr><td>Create Theme &gt; Create Child Theme<\/td><td>Theme creation<\/td><td>Creates a child theme from the active theme; if the parent theme receives updates, we won&#8217;t lose any of the changes we&#8217;ve added.<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Summary table of the different options of the Create Block Theme plugin<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this post helps you understand this very interesting option you can now add to WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just keep in mind that it&#8217;s under development and isn&#8217;t recommended for production sites. It&#8217;s better to have a development site, which can be a clone of the production site, and make all the changes you want there to the new theme or child theme you&#8217;re creating.<\/p>\n<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:327,&quot;href&quot;:&quot;https:\\\/\\\/wordpress.org\\\/plugins\\\/create-block-theme&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20260923222114\\\/https:\\\/\\\/wordpress.org\\\/plugins\\\/create-block-theme\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-11-27 17:24:09&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-11-27T17:24:09+00:00&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:24,&quot;href&quot;:&quot;https:\\\/\\\/localwp.com&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20260219031222\\\/https:\\\/\\\/localwp.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-07-01 09:51:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-16 15:02:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-08-20 09:52:17&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-08-20T09:52:17+00:00&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:25,&quot;href&quot;:&quot;https:\\\/\\\/wordpress.org\\\/themes\\\/powder&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20241013151829\\\/https:\\\/\\\/wordpress.org\\\/themes\\\/powder\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-07-01 09:51:06&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-07-16 15:02:15&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-08-20 09:52:16&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-08-20T09:52:16+00:00&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:328,&quot;href&quot;:&quot;https:\\\/\\\/wordpress.org\\\/themes\\\/twentytwentyfour&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20261114152126\\\/https:\\\/\\\/wordpress.org\\\/themes\\\/twentytwentyfour\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-11-27 17:24:12&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-11-27T17:24:12+00:00&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span>","protected":false},"excerpt":{"rendered":"<p>In this post I explain how you can design a block theme from scratch with a plugin and without touching any code.<\/p>\n","protected":false},"author":2,"featured_media":60592,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_ayudawp_aiss_exclude":false,"_ayudawp_aiss_exclude_summary":false,"_ayudawp_aiss_summary":"Previously, Create Block Theme was used from the WordPress admin panel, under Appearance &gt; Create Block Theme, where you could do tasks such as creating a child theme, cloning the theme, etc. However, if we've been good, we'll have created a child theme, which inherits the parent theme's properties, so the parent theme will be updated but our changes will be preserved in the child theme. Although you see two, Create Blank Theme and Create Theme, inside Create Theme you'll actually find two more: Clone Theme and Create Child Theme.","_ayudawp_aiss_summary_provider":"extractive","_ayudawp_aiss_summary_hash":"16562b68e108d84f70cc4d36299443651d11930a","footnotes":""},"categories":[343],"tags":[361,362,341],"class_list":["post-60587","post","type-post","status-publish","format-standard","has-post-thumbnail","category-web-seo","tag-diseno","tag-temas","tag-wordpress"],"openstation_lock":null,"openstation_contributors":[],"openstation_attached_media":[60592,40244,40245,40263,40275,40265,40266,40267,40268,40269,40270,40271,40272,40273,40276],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/posts\/60587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/comments?post=60587"}],"version-history":[{"count":1,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/posts\/60587\/revisions"}],"predecessor-version":[{"id":60621,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/posts\/60587\/revisions\/60621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/media\/60592"}],"wp:attachment":[{"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/media?parent=60587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/categories?post=60587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jesusyesares.com\/en\/wp-json\/wp\/v2\/tags?post=60587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}