Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #938762

    Hi,

    Could anyone help me, I have followed all the instructions on the other post but still not working
    This is the post. http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    When you click on the link the popup should appear with contact form.
    It works fine in my other official website, but not in this trial site..
    The error console says “Uncaught TypeError: jQuery(…).magnificPopup is not a function”
    I must have done something wrong, but I’m not sure what or where?

    • This topic was modified 6 years, 7 months ago by dewasurya.
    #938806

    Hi.. NO worries, I have fixed it with your other suggestion codes:

    function popup_inline() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    	jQuery('.open-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true
    	});
    });
    </script>
    <?php }
    
    add_action('wp_head', 'popup_inline');
    #938940

    Hi,

    Great, glad you got it working and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.