
The parent theme is the theme you’re customizing. Step 3: Using your text editor, open the style.css file in your parent theme’s folder. Child theme folder with our new blank style.css file. This file is where most of your customizations will be made in this file. This is the stylesheet for your child theme. Step 2: Inside of the new child theme folder, create a new file named style.css. In the example below, I’ve named the folder “my-child-theme.” Create a folder for your child theme under /wp-content/themes/ It’s also a good idea to using lowercase letters only. Name it whatever you like, just don’t use spaces or punctuation. This is the home folder for your child theme. Step 1: Create a new folder under /wp-content/themes/. In this example, I’ll create a child theme for Twenty Seventeen. How to Make a Child Theme – Step-by-Step Guide

Once your tools are lined-up, you’re ready to make a child theme. A plain text editor (NOT a word processor).The FTP login credentials for your web server.You use this to move files to and from your web server. You won’t get very far without the right tools. Pre-Flight Checklistīefore you start, make sure you have the following. If you have customized your design using the Theme Customizer, or a theme settings page in the WordPress admin area, then you don’t need a child theme. I explain why and when to use a child theme in this post. Doing so will ensure that your hard work doesn’t get overwritten by a future theme update.īe sure you need a child theme before you got to the time and effort of making one. Do you have the itch to turn your WordPress theme into something unique? If so, there’ one important step you must take before you get started.
