How To Create A WordPress Child Theme

How To Create A WordPress Child Theme


Are you looking to create a child theme in WordPress? Not sure how to create a WordPress child theme?

Child themes make it easy for you to make WordPress customization without losing any changes on theme updates. In this video, we will show you how to create a child theme in WordPress.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:

Follow us on Twitter:

Checkout our website for more WordPress Tutorials

Summary of this Tutorial:

Child themes are the best way to customize your WordPress site because it allows you to update your theme without losing any customization.

To follow this tutorial, you must have a basic understanding of HTML / CSS and have a working knowledge of PHP and how it relates to WordPress.

To get started, you must create a new folder in your /wp-content/themes/ directory.

Next you need to upload a new style.css file with the appropriate header information which is linked above. The important thing is that you must specify template: parenttheme and import your parent theme’s style.css file.

Once done, simply activate your new child theme and start customizing.

You can use Chrome’s Inspect Element tool to identify specific elements that you want to change and add changes in your style.css file.

Next, you can also add a new functions.php file to add custom functionality to your theme.

Related:

Pros and Cons of Child Themes –

Common WordPress Errors –

31 Comments

31 Replies to “How To Create A WordPress Child Theme”

  1. Hello, How may I have you overlook the website I have built? to make sure all is well. My biggest fear is to update and all my changes to be lost

  2. for all those Who are complaining about the speed of the video, you can change the speed on youtube and choose 0.5 and voila, never mind that she Will sound drunk lol

  3. WORDPRESS is the great framework for establishing the websites for your business, blog and many more.
    I will I will help you in your in fixing almost every WORDPRESS, html, css, php , ASP, Database Connection etc..
    for more info please Visit: https://www.fiverr.com/s2/dbd5ad47ff

  4. PLEASE HELP!!! i learned the hard way what a child theme was…i bought a premium theme and altered the living hell out of it. it looked great on every device…for a while. then i noticed that the update to the theme screwed the entire site up. i contacted the developer and he said just not to update the theme…so i didn’t and it has been good. but now i notice that it is no longer responsive, which leads me to this question: if i have a site that i love how it looks and functions on the computer, but it isn’t responsive, how do i create a child theme and still keep all of my content? is there a way? or do i have to basically empty wordpress and build my entire site again with another theme and then make a child theme from that? i am very confused with this and frustrated! nobody ever told me not to mess with the actual theme! another question: once you make the child theme based on the parent theme, you could add all sorts of plugins to the child theme correct? and it won’t alter the main one? PLEASE HELP!!!

  5. I watched a few tutorials before getting to this one. I found this one the most helpful. Thank you!

  6. This is suppose to be for beginners, but you go way too fast for beginners. Also in the beginning of the video at 1:10 you say to paste the code in notepad, but you don’t say where that code comes from. Beginners are going to know where that code comes from. Now I need to find another video to figure that out. Need to think like a beginner.

  7. I saw this video and thought – ok I am hopeless. Because now my home page has HOME in navigation, HOME on the friggin’ banner and HOME on right side of the banner. WP is incredibly complicated.

  8. Do you not remember what a beginner is? Where did you get the code from. What program do we use to open and edit a .css file? What about the “functions.php” file that WordPress says needs to be changed to create a child theme?

  9. Yeah, maybe not so great for beginners, but for me, exactly the content and speed required. Fantastic video. Good job.

  10. Hi!
    A question just for interest.
    When go to Appearance > themes, all of themes have featured image
    How to create this image for child theme?

  11. This was a terrible tutorial. The speaker goes WAY TOO FAST to understand and the examples that she used were very confusing. This needs a massive do-over.

  12. This is bas practice. You shouldn’t import child theme CSS into another stylesheet. Any time you import in CSS, it’s can’t be done asynchronously. As a result, you are increasing page load time. You should enqueue the child theme CSS in functions.php.

  13. I decided to go the child theme route since I was going to be making some changes to the main theme I was using.

    When I created the child theme and activated it, the widgets and menus all reset on the site. The data was still saved, but the site just decided to display the default. I had to go back in to the menu to readjust it, however, I couldn’t get the widgets to resort back to the changes I had made while still using the parent theme.

    Any idea how to get this to adjust?

    Thanks

  14. What happens if your installation is on the server? Where do you get those folders?

Comments are closed.