WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Pop-up contact page with link to button on homepage

[Resolved] Pop-up contact page with link to button on homepage

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    @ravanh

    Hi Novice1, there is an example code snippet for how to display Inline content with FancyBox on http://wordpress.org/plugins/easy-fancybox/faq/ under “Can I display INLINE content in a FancyBox overlay ?” but you’ll have to adapt this to show a contact form instead of the example text. It all depends on how you are creating a contact form on your website but let’s say you are using Jetpack and the Contact Form module and you have added a contact form the normal way, then just open the page in question for editing and switch to the HTML view tab. Now find the shortcode that represents the contact form, it shouls start with [contact-form ... and put this before it:

    <a href="#fancyboxID-1" class="fancybox">Read my inline content</a>
    <div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1" style="width:460px;height:380px;">

    and this after:

    </div></div>

    Hope you can work with these instructions 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Pop-up contact page with link to button on homepage’ is closed to new replies.