Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #289108

    Hi,

    After the last update some inline content stop to working.

    I did some changes to try use the new magnific-popup to open inline content but the same not work.

    What can I do about that?

    You can try to access just clicking in: Show inline popup

    #289313

    Hi

    Any ideas?

    Thanks

    #289356

    Hi,

    Try adding this at the very end of your theme functions.php file:

    function inline_popup_enabler(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$('.inline_popup').magnificPopup({
        	  type:'inline',
        	  midClick: true 
        	});
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'inline_popup_enabler');

    You can mix it with the other snippet i gave you in the other post.

    Regards,
    Josue

    #289645

    Hi,

    Working now.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Inline content in Magnific-Popup’ is closed to new replies.