What is a Child Theme?
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 customise the parent theme. By making your edits and cusomizations 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 X Pro
Firstly you need to install the child theme as you would the parent Theme.
– The X Child Theme is available here:http://updates.theme.co/theme_child_3c69b0bb7eebc7b83af3a76241c8b5e5/x-child.zip
– The X Pro Child Theme is available here: http://updates.theme.co/theme_child_3c69b0bb7eebc7b83af3a76241c8b5e5/xpro-child.zip
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 screen shot or right). It will show your Child Theme as the active theme.
Contributed by : Karen Cooper