Quantcast
Channel: contact form 7 – WordPress.org Forums
Viewing all articles
Browse latest Browse all 9540

fourwhitesocks on "[Plugin: Easy FancyBox] Multiple Contact forms 7 & Easy Fancybox success message issue"

$
0
0

I was able to finally successfully make 6 different forms on one page using the Easy Fancy Box Plugin and Contact Form 7 with it working perfectly, success message and all. Below is an example of the code and how I made it work...

This code works perfect for me, you can just change and add your own Contact Form 7 Shortcodes; and I wrapped the whole thing in a div each time for styling. Hope this helps someone!!

<div class="contact">

<a href="#contact_form_pop1" rel="nofollow">Contact Whoever</a>
<div class="fancybox-hidden1" style="display: none;">
<div id="contact_form_pop1">[contact-form-7 id="89" title="President"]</div>
</div>

<div class="contact">

<a href="#contact_form_pop2" rel="nofollow">Contact Whoever someone else</a>
<div class="fancybox-hidden2" style="display: none;">
<div id="contact_form_pop2">[contact-form-7 id="151" title="sales"]</div>
</div>

Viewing all articles
Browse latest Browse all 9540

Trending Articles