Create a Child Theme in Wordpress
Wordpress is a great way to get a site up and running quickly. A lot of people think it is just for blogs but it can be whatever you'd like it to be with its customizable themes and content manager. There are hundreds of Wordpress themes online and a lot of times you might really like everything about a theme except for a few changes. To make those changes the best thing to do is create a child theme. A child theme is a way to update and make changes to a base theme. There are just a few steps you need to take to create a child theme and then you'll be ready to make changes.
- Create a directory in your themes folder for your child theme
- The general naming convention is to name the folder the name of the theme with a -child appended to the end. Example: greattheme-child.
- In the child directory create a
style.cssfile. It must start with the following lines.
/ Theme Name: Great Theme Child Theme URI: example.com/great-theme-child Description: Great Theme Child Theme Author: Eric Saupe Author URI: example.com Template: greattheme Version: 1.0.0 / @import url("../greattheme/style.css"); /* =Theme customization starts here