WordPress Example Child Theme
Here is a ready-to-go example Child Theme that you can download and use on your own WordPress-powered site.
The download ZIP file contains three files:
These are the only required files to create a Child Theme. Of course you can add more theme template files as needed to customize the parent theme.
The Example Child Theme is mostly plug-n-play, however there are several things to keep in mind:
- Install and activate like a regular theme
themedirectoryto match the exact name of the parent theme directory. So for example, if you are using this child theme for Twenty Sixteen, you would change
- If your theme does not automatically enqueue the child theme stylesheet, you can enqueue it manually by un-commenting the
screenshot.pngis very basic, customize as desired.
Check out DigWP for more information on enqueueing stylesheets with Child Themes.