This topic has 2 replies, 2 voices, and was last updated 3 years, 8 months ago ago by Robert Hall
I wanted to test something on the xstore-core theme, just to see if it worked.
So I edited (very small edit) the “custom-metaboxes.php” file via FTP:
“wp-content”
> “themes”
> “xstore”
> “framework”
> custom-metaboxes.php
It works! Yay.
But I know that it is not good to edit xstore core. For edits I should use the child theme right?
My question is: How can I add the edited version of custom-metaboxes.php inside the child-theme folder so it works? Should I build the same folder structure in there and add a file with the same name in there with the edited code?
HI
The child theme offers the safest and easiest way to modify an existing theme. Yes child theme update won’t be changes your customization after parent theme update unless you update child them as well. We are also sharing theme update and child theme documentation with you for your better understanding.
https://www.8theme.com/documentation/docs/child-theme/
https://www.8theme.com/documentation/xstore/theme-installation/theme-update/
You must be logged in to reply to this topic.Log in/Sign up