Child theme becomes useful when you would like to make modifications in theme templates code.
Follow the steps below to create your child theme in a minute:
- create new folder for your child theme on the path
./wp-content/themes/
, name it like you want, for examplechild-theme
- from parent Citadela theme copy file style.css into your new
child-theme
folder - fill in information about your child theme following example below
You can copy template files from the parent theme to the child theme folder and modify them per your needs.
Code examples can be found on the official WordPress Child Themes page.
Example of style.css
file in your child theme folder:
/* Theme Name: Name of your child theme Template: citadela Version: 1.0 Author: Author URI: Description: Tags: License: GNU General Public License License URI: http://www.gnu.org/licenses/gpl.html */