This article was last updated on the April 28, 2018.
Setup a child theme
If you plan on making any updates or additions to X outside of a minor CSS adjustment or a simple script such as Google Analytics, you will definitely want to look into setting up a child theme on your site. While smaller CSS and JavaScript changes can easily be managed via the CSS or JS section of the Theme Options (X/Pro > Theme Options), a child theme will allow you to do all that and much more with greater flexibilit…

After that add the following code under functions.php file locates in your child theme:

After making the changes and doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.