How to Create a WordPress Child Theme Easily

I want to share a useful plugin you can easily utilize to create a WordPress child theme. This plugin works with WordPress block themes and classic themes. I tested it myself with the Twenty Twenty-Two theme and it worked.

You need a child theme for some CSS customization and if you want to edit the WordPress theme functions.php file to add new small features without using plugins. This way, your codes will never be destroyed if you update the parent theme to a new version.

Table of Contents

Install and Access the WPS Child Theme Generator

First, please download the WPS Child Theme Generator, install it, and activate it.

Next, go to the WordPress Admin area of your website. Then hover on the Tools menu, and click on WPS Child Theme Generator.

WPS WordPress Child Theme Generator Options

Select Parent Theme (the theme you want a child theme from). For example, I selected Twenty Twenty-Two.

Next in the Title field, type the title of the child theme. I type Twenty Twenty-Two Child. This title shows when you want to activate and use the theme.

For the Theme URI, you can type your website link. Enter your website’s corresponding child theme page URL if you plan to publish this child theme. I don’t want to publish the child theme so I just typed https://alvand.dev/ which is this website URL.

In the Author field, type your name.

For the Author URI one, if you have a personal website or a page about you on your website, put the link in this section.

In the Screenshot, if you have a screenshot of the child theme, Click on Add screenshot and select or upload it. I grabbed the parent theme screenshot, edited it, and uploaded it.

In the Add CSS field, you can insert CSS codes you want to apply to the theme. You can always add CSS codes to the theme so for now, I leave it empty.

You have another option: Send the child theme by email. If you want, enter your email address. You can download the child theme after clicking the Create Child theme button.

The last option is Advanced options which are beyond the scope of this post so I skipped it.

After these configurations, click on Create child theme. After clicking, if all options are entered correctly, you see a message: “child theme created” and “download child theme”.

Activate Your WordPress Child Theme

Now go to WordPress Admin area > Appearance menu > Themes, hover on your child theme, and activate it.

Conclusion

I showed you how to create a WordPress child theme via a plugin. After creating the child theme, you do not need the plugin and can disable and remove it. Or keep it for the future because maybe you want a child from another theme. With the help of a child theme, you can now include and use Bootstrap in WordPress.

Published on:

Updated on:

Author:

Rate this post and help us improve our content to better serve you.

Help us spread the word! Click the share buttons below to share this post with your followers.

We’d love to hear your thoughts on this topic. Feel free to leave a comment below.

Leave a Reply

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