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

    See http://theqmart.com/

    Most of these images in the mason grid have a custom link set within the gallery edit page, but there is no option to make those links open in a new tab.

    How can I make them open in a new tab, and is it possible to make some open in a new tab, but others open in the same window?

    Thanks,
    Rob

    #698321

    Hey robphat,

    Please add following code to Functions.php file in Appearance > Editor

    function avia_open_new_tab(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.home #av-masonry-1 a').attr('target','_blank');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_open_new_tab');

    Please feel free to request – or vote if already requested – such feature on Enfold feature request form.

    Best regards,
    Yigit

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