Tagged: CONTACT FORM
Hello,
I have a contact form and a table of content plugin on a page. The text “Send Email” of the contact form is shown as h3 in the table of content. Could I change that?
kridlot
Hey kridlot,
Yes, you can add this code in functions.php:
add_filter('avia_contact_form_args', 'avia_contact_form_args_mod', 10, 2);
function avia_contact_form_args_mod($form_args, $post_id){
$form_args['heading'] = "<h2>Send Email</h2>";
return $form_args;
}
just change the heading tag and the title as well.
Best regards,
Nikko