When it comes to building a site with WordPress and looking for some coding-level modifications, we all ( WordPress Users ) have heard about the child theme to avoid losing the changes by updating a plugin or theme. As it seems, a child theme plays a vital role in a WordPress site.
What is a child theme?
The meaning of the child theme is inherent in its term. A child theme is a WordPress theme that inherits everything from its parent theme and allows to extend of the theme or a plugin.
How to get a child theme?
Sometimes a child theme comes along with a theme or theme authors store the child theme in their publicly accessible repository for downloading by a user when needed.
However, if there is a way to create a child theme rather than searching for a child theme of a parent theme, then it would be a time saver approach.
Fastest way of creating a Child theme
In this article, I will share the fastest and easiest way to create a child theme through a plugin that I found while exploring plugins in the WordPress repository.
Installing the plugin
Go through the following steps to install a plugin to create a child theme:
- Navigate to the WP Admin Dashboard > Plugins > Add New screen
- Search for the Child Theme in the search field
- Choose the WP Child Theme Generator plugin by WEN Solutions
- Click on the Install Now and then Activate button
Once the plugin is activated, two menus will be added. One on the Topbar and the other one as a sub-menu of the Appearance menu.
Create a Child theme
To create a child theme in the fastest way:
- Hover the “Make Child theme” topbar menu
- Hover again on the “Create & Activate” submenu of the aforementioned menu
- Choose your desired theme to create its child theme
- Visit the Appearance > Themes menu to ensure whether the theme has been created
Here I have chosen the Twenty Twenty-Three theme to create its child theme.
If you wish to add your own content in the child theme, like the Theme Name, Image/Screenshot, Theme URI, Author URI, etc, then navigate to the Appearance > Child Theme Gen screen.
Add information in each field as per your preference:
After incorporating the necessary info as desired, the final result will resemble the screenshot provided below.
I hope this information has been helpful to you. If you found this article beneficial, please consider clicking the Like button and sharing your thoughts in the comment section. Your feedback would be greatly appreciated.