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
Hi
Any ideas?
Thanks
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
Hi,
Working now.
Thanks.