For admin

How to make child theme

943 views November 1, 2023 November 23, 2023 Chimp 0

Getting Started

Any good WordPress theme can be used as a parent theme. However, there are many different kind of themes and some may not be the easiest to work with. For the sake of this tutorial, we will be using Twenty Thirteen, which is one of the default WordPress themes.

Creating Your First Child Theme

First you need to open /wp-content/themes/ in your WordPress installation folder and create a new folder for your child thme. You can name this folder anything you want. For this tutorial we will be naming it wpbdemo. Open a text editor like Notepad and paste this code:
Theme Name: WPB Child Theme
Theme URI:
Description: A Twenty Thirteen child theme
Author: WPBeginner
Author URI:
Template: twentythirteen
Version: 1.0.0
@import url("../twentythirteen/style.css");
Now save this file as style.css in the child theme folder you just created.Most of that stuff in this file is self explanatory. What you really want to pay attention to is the Template: twentythirteen.This tells WordPress that our theme is a child theme and that our parent theme directory name is twentythirteen. The parent folder name is case-sensitive. If we provide WordPress with Template: TwentyThirteen, then it will not work.The last line in this code imports our parent theme’s stylesheet to the child theme.This is the minimum requirement for creating a child theme. You can now go to Appearance » Themes where you will see WPB Child Theme. You need to click on activate button to start using the child theme on your site. Since you haven’t changed anything in your child theme yet, your site will use all functionality and appearance of its parent theme. If you dont want to follow so much procedure there there are many plugin which can help you acheive this funtionlity in one click. Suggestion are :

Child Theme Configurator , It has 90000+ active installs

Child Theme Creator by Orbisius

this plugin I personally liked too much and its very easy to use you can check this as well. I hope this has helped you.