Trying to open contact form 7 from menu item in a pop up
-
Hello,
I want a contact from 7 to open on click from a menu item
On the menu item, I have added #contact_form_pop in the url field. Added the class “fancybox-inline” and then added this to my header-
<div style=”display:none” class=”fancybox-hidden”>
<div id=”contact_form_pop” class=”hentry” style=”width:460px;max-width:100%;”>
<?php echo do_shortcode[contact-form-7 id=”1396″ title=”Contact form 1″]?>
</div>
</div>
But all I am getting is a blank box. What is the problem?Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Trying to open contact form 7 from menu item in a pop up’ is closed to new replies.