Hi. I’m loving this theme, it’s very easy to get to grips with. But I have one bugbear: the subject of the email sent – it looks like you cannot modify this.
At first I thought it was a bug because there’s an option in the contact form’s settings to specify subject, but I guess this is for the “admin’s” email address, and not the the email address entered in the contact form on the front end.
So the basic question: is there a way to edit the subject the contact form filler puts in and change it from “Thank you for your Message!” to something more custom?
Thanks,
Xavier
Hi Tfboy, you can do this changing the file and uploading it using an FTP program.
Go to folder “Enfold” config-templatebuilder => avia-shortcodes => and open “contact.php” you will find it on line 226 if theme is V 2.1
for V 2.0.1 open it on the same path and edit on line 218, save the file and upload it by FTP.
I hope you understand.
Regards,
Elson Santos
Since v2.1 Enfold comes with a subject filter function. Add following code at the bottom of functions.php
add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
function avia_change_mail_subject($subject, $new_post, $form_params)
{
$subject = 'My email subject';
return $subject;
}
and instead of “My email subject” insert your subject text.