Quform popup as a link in the menu

Home Forums Quform WordPress Quform popup as a link in the menu

This topic is: not resolved

This topic contains 7 replies, has 2 voices, and was last updated by  Ally 1 month, 2 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #30024

    thewebmachine
    Participant

    Hi, is it possible to have a Quform popup as a link in the menu?

    #30036

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #30038

    thewebmachine
    Participant

    Hi Ally, I hope you are well and thank you for the support. I tried to use your method but I am getting no results.

    I did the following:

    My menu id: #mega-menu-item-1482 created as a custom link

    My code in a custom plugin

    <?php

    /*
    * Plugin Name: Quform Custom Code
    * Description: Custom code for Quform.
    * Version: 1.0
    */

    add_action(‘wp_footer’, function () {
    if (!class_exists(‘Quform’)) {
    return;
    }

    echo do_shortcode(‘[quform_popup id="3"]‘); ?>
    <script>
    jQuery(function ($) {
    $(‘#mega-menu-item-1482’).click(function () { $(‘.quform-popup-link-3’).click(); return false;
    });
    });
    </script>
    <?php

    #30047

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #30070

    thewebmachine
    Participant

    Hi, Ally, thank you so much for your help but I tried the revised code and still no popup.

    The link is http://edge-dev4.co.za.dedi66.cpt3.host-h.net/

    The button is in the main menu left top called enquire

    #30091

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #30095

    thewebmachine
    Participant

    Hi, Ally, my apologies for that. I have disabled the coming soon page and sent you login details.

    #30102

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Be inspired. © 2019 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy