What is a child theme, why you need one, and how to set it up

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 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:

  1. Upload the zipped file via the
    WP Dashboard > Appearance > Theme > add new tab at the top > Upload Theme
  2. 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.

The directories for the Child theme have already been set up for you, so you can start customizing by adding your css or javascript to the editors safely.  The main parent theme files remain intact and you also won’t lose your customizations when X is updated.


Contributed by : Karen Cooper

Leave a Comment