Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1677558
Permitting links to be opened in separate tabs
Closed

Comments

  • leachyleach started the conversation

    Hello,

    I would like to allow the option for links to be opened in different tabs. On my mac, I usually hold command and click to open a link in a separate tab, but with this theme the links always open in the same tab regardless. How do I work around this?

    Thanks,

    Brad

  •  1,845
    Elated replied

    Hello,

    Unfortunately, there is no predefined option for that, but you can try to achieve it using some custom JS code.

    jQuery(document).ready(function(){
         jQuery('a').attr('target','_blank');
    });

    In this way any link on your website will be opened in new tab.

    Please let us know if there is anything else we can do for you.

    Thank you,
    Jerry


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • leachyleach replied

    Okay, that works, but is there a way to get it to only open in another tab if I click the link whilst holding the command or control key? This is how all other sites work, and I would like mine to do the same. Thanks!

  •  1,845
    Elated replied

    Hi there,

    This works anyway if you hold control/command key. This is not theme related, it's a browsers shortcut. Make sure that you're browser is up to date if you have some issue with this.

    Best regards,

    Marie


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • leachyleach replied

    If you had success in doing so, it was because I enabled the JS code you gave me (below): 

    jQuery(document).ready(function(){
         jQuery('a').attr('target','_blank');
    });

    I disabled that code and tried again to open new tabs by sustaining command whilst clicking a link on my site in both in the newest versions of Chrome and Safari and had no luck.

  •  1,845
    Elated replied

    Hello there,

    Can you please try to set all of this four options to no to check if one of thoose is causing this issue?

    Please let us know if that helped you. In case it didn't would you mind providing us with login credentials (in Private Reply) and site url, so we can take a closer look?

    Kind Regards,

    Norah


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.