• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
MinutesGuide.com

MinutesGuide.com

It is Not Just About WordPress

  • Home
  • About
  • Blog
    • Blogger Talk
    • Email Marketing
    • Hosting Talk
    • Plugins
    • Themes
      • Extra & Divi
    • WPbeginner
      • Guide
      • Life Hacks
      • WP Fix
    • WP Security
    • WP SEO
    • WooCommerce
  • Services
  • Reference
  • Contact
  • Start Here
You are here: Home / WPbeginner / How to Create Child Theme in WordPress (Step By Step Guide)

How to Create Child Theme in WordPress (Step By Step Guide)

Post on November 23, 2017 | Updated on December 18, 2020 by FaizAlias Leave a Comment

How to Create Child Theme in WordPress? If you are making major customization on your theme, better you create a child theme because if you update your theme to the latest version, all your customization will not be lost.

What is Child Theme?

A child theme is a theme act as a mirror reflection of a parent theme. Whatever you change and customize your theme, you must do it all on the child theme. So, when you update your theme to the latest version, all your changes will not be lost because update the latest version just affects the parent theme only. Not to the child theme.

How to Create Child Theme in WordPress

Method #1: Create Manually
Method #2: Using Plugin
Method #3: Using Child Theme Generator

Why Must You Create Child Theme During Customize?

As I am mention above, your customization will not be lost if your theme gets the latest updated version. Another reason is, it can secure your theme from getting any issue. If you get any error, just deactivate your child theme, and your site will back to normal.

Create Child Theme

In this tutorial, I will show you two methods how you can create child theme for your site. Before you start, navigate to your theme Appearance » Themes. The activated current theme is the parent theme. For example, I will use Extra Theme as a parent theme.

So, let’s get started.

Method #1 Create Manually

Step 1 Log into cPanel and navigate to wp-content » themes. Here, you must create a new folder. For example, extra-child.

Step 2 Create a file titled style.css. Then, copy the code below and paste into style.css

Step 3 Create functions.php file, then copy the code below and paste into the functions.php.

Step 4 Log into your WordPress and navigate to Appearance » Themes. Activate your child theme. Finish.

Method #2 Using Plugin

Step 1 Log into your WordPress. Navigate to Plugins » Add New. Search One-Click Child Theme plugin and install it. If you do not know how to install it, please refer to our guide on how to install the plugin on WordPress.

Step 2 Navigate to Appearance » Themes, make sure the parent theme is activated (Ex: If you wish to use Twenty Seventeen as your theme, then Twenty Seventeen is your parent theme).

Step 3 Click on the theme thumbnail, then click on Child Theme.

Step 4 After that, you will be direct to the child theme configuration page. Full fill Theme name, Description, and author field. Then click the Create Child button.

Done!

Method #3 Using Child Theme Generator

If you want to create child theme faster and easier you can use theme generator by Astra.

Just insert child theme name and click on Generate button.

Congrats! Now your child theme was successfully created.

Conclusion

In this tutorial, you have learned how to create a child theme. Make sure you practice this when you make any customize on your theme.

If you like this article, then please FOLLOW our Linkedin, Twitter, YouTube, Pinterest, and Facebook. Do not forget to check our services page to upgrade your WordPress. If you find this post has an issue with copyright, outdated, or in error, please contact us to fix it.

Related Article..

  • How to Add Google Analytics to WordPress (Two Easy Method)
  • How to Remove Underline On Text Link in Genesis Theme
  • This Block Has Encountered An Error And Cannot Be Previewed (Fixed!)
  • How to Add Google Search in a WordPress
  • WordPress Needs to Access Your Web Server

Filed Under: WPbeginner, Guide

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Follow Me

  • Facebook
  • GitHub
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube

Start With…

Start Blogging
eShop Guide
WP Guide
WP Security

Categories

Footer

About MinutesGuide

Was founded in October 2017 by FaizAlias. The main goal of this site is to provide quality tips, tricks, hacks in easy way that you can learn it just in minutes.

Highlight Service

Ninja Tables Pro Installation And Setting
CSS Hero Plugin Installation And Setting
Divi Theme Installation & Settings
Build Complete eCommerce Site

Quicklink

Home
Services
Contact
Blog

Copyright © 2022 · Designed by SM Creative Studio | Hosted by Cloudways DMCA.com Protection Status

  • Privacy Policy
  • Terms of Use