How to use child theme

Updated: March 13, 2020

Child theme becomes useful when you would like to make modifications in theme templates code.
Follow 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 example child-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 parent theme to child theme folder and modify them per your needs.
Code examples can be found in official WordPress Child Themes page.

Example of style.css file in your child theme folder:

/*
Theme Name: Name of your child theme
Template: citadela-theme
Version: 1.0
Author:
Author URI:
Description:
Tags:
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/