• Resolved marketingcopenhagen

    (@marketingcopenhagen)


    Hi,

    is it possible to make the images and buttons open in a new tab instead of leading traffic away from the website? Can’t seem to find a way to make this happen?

    Thanks so much – it’s a great plugin

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hi marketingcopenhagen,

    Sure! You can add the following to the “Custom JavaScript” area on the “Customize” tab to have all links in the feed open in a new window:

    jQuery('#sb_instagram a').attr('target','_blank');

    You could also make all links link to some internal page with this FAQ:

    https://smashballoon.com/link-instagram-photos-to-custom-urls/

    Let me know if you have any questions!

    – Craig

    Thread Starter marketingcopenhagen

    (@marketingcopenhagen)

    Wauw that works perfect! Thank you so much for your help and quick answer! ??

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    No problem! Have a great rest of your day.

    – Craig

    Hi! This works great for me too!

    However, I just wondered if we can suppress the links altogether so that there are no links at all when hovering over the pictures?

    If not, the links going to new tabs is fine, I just wondered.

    The absolute ideal would be if clicking on the picture in the feed simply enlarged the picture in a form of popup without going to any websites.

    But I understand why that might not be possible.

    Thanks!
    Mark

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey Mark,

    Glad this worked for you too! To remove links all together, use this code:

    jQuery('#sb_instagram a').removeAttr('href');

    Our “Pro” version has a popup lightbox like you were mentioning. The free version does not have this functionality at this time.

    I hope you’re having a great week!

    – Craig

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Open links in new tab’ is closed to new replies.