Popup Contact Form 7 on Button / Link / Price Table

Hi.

Can you explain how create popup with contact form? In prices table, on buttons, on links, etc.

Comments

  • Hey,

    at this moment we don`t have this possibility but we got this feature added to our wishlist and will be added with next updates (should be ready this week). We are planning to add shortcode/item that will have possibility to open any content you want in popup. But this won`t be possible with buttons on pricing table as this is separate item.
  • thanks.
  • I find solution.

    Use 2 plugins:
    1. Contact Form 7: https://wordpress.org/plugins/contact-form-7/
    2. Easy FancyBox: http://wordpress.org/plugins/easy-fancybox/
    In "Contact Form 7" create form.
    In "Easy FancyBox" (Options -> Media) need to activate 2 options: "Images" and "Inline content".

    And use this code for theme "BeTheme" where you want:

    [button title="Order" icon="icon-basket" icon_position="left" link="#contact_form_pop" target="" color="orange" large="0" class="fancybox" download=""]
    <div style="display:none" class="fancybox-hidden">
    <div id="contact_form_pop"> 
    [contact-form-7 id="1196" title="Order"]
    </div>
    </div>

    Enjoy.
  • Thanks for this solution @D1ver but we`ll at this shortcode with update that will be ready today because some other users asked about it and it was on our wishlist before.

    But it is really good to know that your solution works as well ;)
  • Yeah, it's works.
  • Why not just do this with prettyphoto instead of fancybox?
  • @Rumant It depends on what users prefer. Each of us is different and may like different things :)
  • okay, just wondering. I'm an amateur and was really trying to figure out how to do this.  D1ver's solution helped me figure it out.
  • edited August 2015
    Not working for me. But i find NEW solution:

    [button title="Callback" icon="icon-mobile" icon_position="left" link="#contactformpops" target="" color="orange" large="0" class="fancybox-inline" download=""]

    <div style="display: none">
        <div class="fancybox-inline" id="contactformpops">[contact-form-7 id="12390" title="Callback"]</div>
    </div>

    Enjoy
  • edited February 2017
    @D1ver's solution worked for me as well, thank you!!
  • @navi21 why Its not working? 

    [button title="Callback" icon="icon-mobile" icon_position="left" link="#contactformpops" target="" color="orange" large="0" class="fancybox-inline" download=""]

    <div style="display: none;">
        <div class="fancybox-inline" id="contactformpops">[contact-form-7 id="12390" title="Callback"]</div>
    </div>
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.