How To Setup & Use A WordPress Child Theme

WordPress Child Themes

Using WordPress Child Themes when developing your own website theme

This is an incredibly thorough article on designing your own WordPress child theme. I have long been a proponent of using child themes, mostly because early on I started using Genesis for many of my WordPress websites.

What is a WordPress Child Theme?

A child theme is a theme that inherits the functionality of a parent theme. It is a separate theme, that allows you to modify the parent theme without having to modify any of the parent theme’s files.

Why should I use a WordPress Child Theme?

Child themes are particularly useful if you want to customize a non-custom theme that has updates. With a child theme, you can update the parent theme without losing the custom changes you have made to it. It can also make development more efficient, because your child theme will only contain the files from the parent theme that you’ve actually made changes to. This makes it a lot easier to find your past changes to make additional changes in the future.

1) Create a folder (i.e. /wp-content/themes/theme-child/)

2) Create a style.css file (i.e. /wp-content/themes/theme-child/style.css) that starts with the following:

WordPress Child Theme style.css

 Theme Name:   Theme Child
 Template:     theme

Read the full post: