Tagged: child theme, contact.php, functions.php
Hi guys!!!
I know.. the subject looks enigmatic… but my question is quite simple… ;)
I want to modify the text on the email subject and don’t want to do it on the Parent them.
If I add the following code to my Child’s functions.php file, would that be ok?
$form_args = array(
“autoresponder_subject” => __(‘And the new message here’,’avia_framework’ ),
);
Or do I have to copy the contact.php file to the Child Theme’s folder and make the modification there?
Thank you so much!!
Warmly,
Havi
Hey havi,
Yes, you can copy the contact.php file into your child theme.
Best regards,
Jordan Shannon
Thank you, Jordan!!! :)
I don’t need to create the sub-folders, right? And I just make a full copy and then add the modifications, correct?
Warmly,
Havi
Hi,
No, you just follow the same structure as the parent, so a root file will go into the root of the child theme.
Best regards,
Jordan Shannon