How to Create Child Theme from Block Theme?

In WordPress, child theme is the most common term. Most of the WordPress user use child theme along with the parent theme. Child theme possesses all the properties and functionality of its parent theme. In this tutorial, we will tell you how to create child theme from block theme.

how-to-create-child-theme-from-block-theme
how-to-create-child-theme-from-block-theme

Usually, if you make customizations to the parent theme, all the customizations gets vanished with the new update. To keep the customization intact in such cases, using child theme is the best way.

Benefits of Child theme

  1. It keeps all the customizations intact even after the update.
  2. Child theme works like a staging environment which you can use to keep your parent theme safe.
  3. Child theme makes customization and development process easier because you can write your own code by using properties from parent theme.

How to create child theme?

Creating child for classic theme is easy, you just have to create a folder and under it create a style.css and fucntions.php files with some codes and taggings and its done. But when you try to create a child theme from a block theme using the same method, you will notice that there will be many compatibility issues.

How to create child theme from block theme

To create a child theme of a block theme we will use create block theme plugin provided by WordPress. Follow the steps below

Here is a complete video to create child theme of block theme

Install the Plugin

  • On your WordPress admin, click on “Plugins
  • Click on “Add New Plugin
  • In the “Search Plugin” bar, enter “create block theme
  • Click on “Install Now” then click on “Activate

As the plugin gets activated, follow the steps below

Create Child theme of Block theme

  • On your WordPress admin, click on “Appearance
  • Activate the parent theme
  • Now again click on “Appearance” and click on “Create Block Theme
  • You will see around 4 options, click on the one that says “Create a Child of “{Your parent theme name}.
  • Now enter the “Theme Name“. You can enter anything there
  • Enter “Description” and “Author” and click on “Create Child Theme

and its done, you have your child theme ready.

Category:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *