Blog Post: Child Themes Part 2

Red Deer & Blackfalds Web Design Writes:

Okay! So here’s the nitty-gritty of utilizing a proper Child Theme in WordPress. Below are the steps:

  1. Access FTP – inside your server you should first locate your “WP Content” folder and then find your “Themes” folder. From here create a new folder named “YOURCURRENTTHEMENAME-child” where you would replace YOURCURRENTTHEMENAME with the name of the theme you have chosen for your website.
  2. Adding New style.css File – add a new file to your child theme folder and place the following code at the top
  3. /*
    Theme Name: Insert New Theme Name Here
    Theme URI: http://example.com (Original Theme Website)
    Description: Include Theme Description Here
    Author: Your Name
    Author URI: http://example.com (Your Personal Website)
    Template: YOURCURRENTTHEMENAME
    Version: 1.0.0
    */

    @import url(“../YOURCURRENTTHEMENAME/style.css”);

    /*—–Theme customization starts here—– */

    Anything you type here will apply override CSS principles to your website

  4. Turn On Your Child Theme – access the back end of your WordPress site and Activate your child theme
  5. PHP File Edits – if you wish to update the functionality of any of your PHP files, make a duplicate copy of the file and place it in your child theme folder on your FTP and then you can make the custom updates on your duplicate PHP file that will override your parent file

By doing this you can avoid all the issues as covered in Child Themes Part 1

Joshua Neufeld

Owner at Red Anchor Studio
At Red Anchor Studio we are dedicated to building local business! We offer high quality developments at an affordable price, and we can work to get your business online at any budget.

Latest posts by Joshua Neufeld (see all)