L
L
ligisayan2015-12-17 12:58:46
WordPress
ligisayan, 2015-12-17 12:58:46

Is it possible to override the config file in a wordpress child theme?

Hello! I have a store on wordpress + woocommerce with a flatastic theme. I want to override the configuration file located at flatastic/config-woocommerce/config.php in the child theme.
Is this possible to do or not possible like the functions.php file? If possible, what should be the folder structure inside the child theme?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2015-12-17
@ligisayan

It is possible, in this case, the location of the file is not critical from the word at all.
redefine functions in the child theme in any convenient place, even in functions.php, but it’s better to put it in a separate file, as the developers of the parent theme did, it’s much more convenient, WordPress will pick them up from the child

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question