Overwrite Standard Form with a Contact Form 7 Form

Since version 2.3 of Reload

With a new option in the Reload ‘s panel, anyone can easily replace the predefined modal contact form of Reload. Under Theme Options > Header Options > Contact Form Visibility click the Contact Form 7  tab and select the form you wish from the drop-down menu below.

contact-form-header

 

Before version 2.3 of Reload

If you want to keep the use of the icon with Contact Form 7, you can overwrite it via a filter function from e.g: Reload Child Theme. You can add the following function to your Child Theme functions.php file.

function grve_child_theme_my_form() {
return do_shortcode( '[contact-form-7 id="4" title="Contact form 1"]' );
}
add_filter( 'grve_header_form', 'grve_child_theme_my_form' );

Just change the id with your contact form 7 id and it will replace the standard form with your form.

Related Articles