I am currently working on a WordPress website, with WooCommerce functionality.
I want to create a series of Template files, to be called within the
content-product-single file, which contains Maths calculations. For some reason, the Maths calculations only seems to work when placed in the
For organisation purposes, is there a way I can create multiple
functions.php files or would this be bad practice? I have tried
functions-template file-name and placed this in the root of the theme but still the Maths does not work.
Read more here: Is it possible to break up a functions.php file?