Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #397246

    Is there any way to have a pop up contact form? and login via modal?

    #397317

    Hi Brendan!

    You can use an inline content popup, first add this at the very end of your theme / child 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');

    How to use it:
    https://kriesi.at/support/topic/modallight-box-for-text/

    Regards,
    Josue

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