Quform popup as a link in the menu

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

This topic is: resolved
Viewing 14 posts - 1 through 14 (of 14 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.

    #33293
    Perb Pappertini
    Participant

    The steps you linked to up above work great for me… except when I’m on a mobile device with a mobile menu. Can you help with that? 🙂

    Attachments:
    You must be logged in to view attached files.
    #33300
    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.

    #33304
    Perb Pappertini
    Participant

    Thanks, Ally – Yes the theme has a different menu for mobile devices. The site is:

    Home 1

    #33306
    Perb Pappertini
    Participant

    It has the same ID as the regular menu item. See screen shot I attached. 🙂

    Attachments:
    You must be logged in to view attached files.
    #33315
    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.

    #33324
    Perb Pappertini
    Participant

    You’re the bomb! Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy