is there any way to add <br/>
‘s and <strong>
‘s in the email that is generated from the contact form submissions withOUT having to alter theme file(s)???
would be nice to bold the field labels & colons and also add an extra line break between them in the emails.
if it can’t be done without modifying any theme files (unless it can be a Child Theme file?), then nevermind. but please put it in a wishlist for future versions. to have something in the Enfold settings interface where we could customize how the emails look (no matter how many form fields or labels it has).
thanks.
Hey syberknight-tb,
Thank you for the inquiry.
Unfortunately, there is no built-in option for this. You can try using the avf_form_message filter to modify the message content, but adding html may not work as expected.
add_filter('avf_form_message', 'avf_form_message_mod', 10, 3);
function avf_form_message_mod($message, $new_post, $form_params) {
// do something with the message here
return $message;
}
We recommend using advanced contact form plugins such as WPForms, Contact Form 7, or Gravity Forms.
Best regards,
Ismael