sage icon indicating copy to clipboard operation
sage copied to clipboard

Re-defining constants in child themes

Open thomasmery opened this issue 14 years ago • 2 comments

Hi there,

and thanks for a great project !

I am facing an issue where I need to re-define certain Theme constants defined in inc/config.php in my child theme

any objection to prepending all the definitions by

if(!defined('THEME_CONSTANT'))

thanks for any input

thomasmery avatar Jun 20 '12 09:06 thomasmery

What are you trying to achieve? I just copied "/inc/config.php" into my child theme and edited the constants there.

Foxaii avatar Jun 24 '12 15:06 Foxaii

did not want to copy the whole config file but it'll do I guess (and makes sense too !)

thanks

On Sun, Jun 24, 2012 at 5:11 PM, Foxaii < [email protected]

wrote:

What are you trying to achieve? I just copied "/inc/config.php" into my child theme and edited the constants there.


Reply to this email directly or view it on GitHub: https://github.com/retlehs/roots/issues/488#issuecomment-6533598


http://www.thomas-mery.net

thomasmery avatar Jun 26 '12 07:06 thomasmery