Avada Forums Community Forum Contact form 7 not updating Avada theme contact form template

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • jamesjjswin
    Post count: 3

    Hi there!

    I’m trying to do the most simplest of things: add in a new ‘Telephone number’ field to the Contact Avada page template Contact Form, but when I edit the Contact Form 7 template, it makes no changes to my live site.

    I’m up-to-date with everything, I’ve tried deactivated and reactivating the Contact form 7 template. I’ve found the contact_form_template.php in Contact-form-7/includes directory, but not convinced I won’t mess it up by editing it (I don’t recognise some of the syntax)

    How can I edit the fields available on the form for the Avada Contact page template?


    Post count: 3

    Anyone able to help with the above? 😊 Thank you!

    Post count: 873


    First, go to your Contact page in your Avada theme. Edit it. Find the Contact Form 7 short code.


    Now, go to your wp-admin > Contact > Contact Forms.


    Find the form that’s embedded in your Contact page.

    Add your new field.


    Hope that’s what you are asking.

    Have fun!

    Post count: 3

    Thanks for the reply, much appreciated!

    There is no short code on my Contact form page; that’s because it utilises Avada’s page templates (https://theme-fusion.com/documentation/avada/pages/page-templates/) and so the form is referenced *somewhere* in a php file. I can see that the Contact Form.php file in the Avada theme uses a function in this way:

    	<div class="post-content">
    				<?php the_content(); ?>
    				<?php do_action( 'avada_add_contact_template_contents' ); ?>

    I’m guessing the relevant html is being pulled in from the ‘do_action’: I can’t find where to edit that html.

    In the Contact Form 7 plugin, I can see only 1 form – which I assumed was the default and hence the one included in the template, but when I edit that form, those changes are not carried across to my contact page (which, as mentioned above, utilises Avada’s Contact page template).

    (The reason I want to use the Contact template is that it also includes a customised map at the top, and I’d lose that/have to learn how to include that manually, and this seemed the easier thing to tweak!)

    So yes, unfortunately it doesn’t solve my problem, I think I need to know where to go and manually change the contact page template…hope that makes sense!

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