A child theme is a theme that inherits all the functionality and styling of its parent theme, in this case X Theme, and allows you to make changes without affecting the main theme files. Using a child theme is always good practice.
Why Do You Need to Use a Child Theme?
Child themes are the recommended and safest way to modify and customize the parent theme. By making your edits and customizations in the child theme editors – as opposed the parent theme editors – your work is always safe and will not be overwritten when the parent theme is updated.
How to Set Up a Child Theme in X and Pro
Firstly you need to install the child theme as you would the parent Theme.
– The X and Pro Child Themes are available here: https://theme.co/apex/child-themes
Upload the file as you would any other theme. Here are two ways to upload:
- Upload the zipped file via the
WP Dashboard > Appearance > Theme > add new tab at the top > Upload Theme
- Upload the unzipped folder called ‘x-child’ via ftp if you prefer to here:
public > wp-content > themes >
Once the Child theme has been uploaded, activate it as you would any other theme (see screenshot or right). It will show your Child Theme as the active theme.