Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1079569

    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

    #1080414

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.