Create a theme.php File
Next, theme.php
file needs to be created to indicate to WHASOLS that this is a Child Theme. And it must be defining the Parent Theme to be used.
The sample below defines a name, author, and parent theme (whasols)
.
The following information is required:
name
— The name you will see in the WHASOLS Admin Area.config
/parent
— The name of the Parent Theme directory. In the above exampe the Parent Theme is the "Hostim" theme, so the name of the parent theme directory ishostim
. Thetheme.php
file can also define other parameters about your theme. To learn more, see Theme Parameters. You can create child themes with parents that are, in turn, children of other themes, as long as the ultimate parent theme includes all of the required WHASOLS template files and assets. However, this is not recommended for most uses.