Pop up form with menu

Home Forums Quform WordPress Pop up form with menu

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29985
    chaosm
    Participant

    Hi i use this code to make the form pop up with my menu.

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

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

    I would like to add one more menu like
    ‘.menu-item-17655’
    to point on second form i made.
    ‘[quform_popup id="2"]‘

    How i make the loop on this code because i am not good at coding.
    Thanks

    #29994
    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 2 posts - 1 through 2 (of 2 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