Okay
  Public Ticket #746438
Portfolio link open in new window
Closed

Comments

  • Tess Hall started the conversation

    Hi, I want just one of the portfolio items on the homepage to open to an external project url in a new tab. I don't want to apply this option globally. It is the item titled 'instagram'. 

    Cheers

    Tess

  •  9,166
    Tahir replied

    Hey ,

    Add this code :

    <script type='text/javascript'>
    jQuery( document ).ready(function() {
        jQuery('a[href*="instagram"]').attr('target', '_self');
    });
    </script>

    add it to the Google Analytics Section in the Salient Theme Options Panel -> General Settings Section :


    Best.


    ThemeNectar Support Team 

  • Tess Hall replied

    Thanks Tahir - that code does not work. I want the link to instagram from the portfolio item to open in a new window. I tried changing the syntax to 'blank' but that did not work either. Can I update the functions file with that script or put it somehwere else??

  •  9,166
    Tahir replied

    Hey Again,
    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.
    Bes.t


    ThemeNectar Support Team