August 2017
Beginner
412 pages
10h 30m
English
The only file you need to start with in this folder is the style sheet (style.css). The style sheet needs the usual header, plus a new line:
/*Theme Name: Daily Cooking Child ThemeDescription: Child theme for the Daily Cooking Custom theme.Theme URI: http://newinternetorder.com/Author: Karol KAuthor URI: http://karol.cc/Template: daily-cooking-custom*/
The key line in that code is Template: daily-cooking-custom. This instructs WordPress that your new theme is a child theme of daily-cooking-custom. Just to emphasize, that one line is really crucial. Then, to make your child theme start out with the CSS from the parent theme, add the following code below the comment:
@import url("../daily-cooking-custom/style.css"); ...Read now
Unlock full access