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:
http://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/
Follow us on Twitter:
Tweets by wpbeginner
Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/
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 – http://www.wpbeginner.com/beginners-guide/wordpress-child-theme-pros-cons/
Common WordPress Errors – http://www.wpbeginner.com/beginners-guide/14-most-common-wordpress-errors-and-how-to-fix-them/