Hi,
your solution described in #337204 doesn’t work after “MEHR LADEN” was clicked.
Any idea?
Thank you
Peter
Hi Peter!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_gallery_masonry_target(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-masonry-gallery a').attr('target','_blank');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_gallery_masonry_target');
Cheers!
Yigit