Outbound links no longer open in a new browser window / tab

Home Forums Calendar Products Events Calendar PRO Outbound links no longer open in a new browser window / tab

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1419366
    ericbonnici
    Participant

    Hello,

    I recently updated to the latest ECP. In past versions or ECP outbound links would usually open a new browser window or tab.

    I’m specifically talking about links such as Organizer Website, Venue Website, and Event Website.

    These links used to open in a new browser or tab (target=”_blank”) but now that doesn’t happen… the links now open in the same browser window.

    I tested this out on different web browsers on both my desktop computer and mobile device (smartphone).

    I looked around in the ECP settings in my WP Dashboard but can’t find an option to turn this option on.

    Has something changed? How can I get the outbound Organizer Website, Venue Website, and Event Website, links open in a new tab/browser window?

    Thanks
    Eric

    #1420860

    Hi Eric,

    Thanks so much for reaching out!

    We are sorry to hear about the links no longer opening a new tab.
    I would love to help you with this topic.

    The good news is that there are quite a few ways around this:

    1. https://wordpress.org/plugins/open-external-links-in-a-new-window/
    2. https://wordpress.stackexchange.com/questions/209506/how-do-i-make-images-open-in-a-new-tab-by-default
    3. https://wordpress.stackexchange.com/questions/230417/open-link-in-a-new-tab-checked-by-default-when-adding-a-new-link-in-visual-post

    Let me know how it goes and if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1420929
    ericbonnici
    Participant

    Thank you for your assistance Jaime

    I will look into these solutions but before I do can you please answer my last question so I can decide how we plan to proceed?

    Specifically, old versions of ECP automatically opened outbound links found on Venue and Organizer pages in new web browser Windows / Tabs.

    With this new version this is not happening for me anymore.

    What I want to know is did ECP Developers change the code so outbound links skip adding the target=_blank attribute?

    Or did they not change that… and are they still supposed to open in those links in new Windows/Tabs…. and is it my specifical installation that is not doing this anymore (or is it all new versions of ECP)?

    Thanks and I look forward to your reply.

    Eric

    #1421593

    Hi Eric,

    I can confirm that links are not opening in new tabs for the pages that you mentioned with our current plugin version installed.  I cannot recall if it worked this way before, but I’d be happy to look into it if you believe that a specific previous version was set up this way.

    In any case, let me know how things go and if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1422058
    ericbonnici
    Participant

    Thanks Jamie,

    Yes an older version of ECP (v3.7) did open the outbound links from Venue and Organizer pages to the venue/organizer websites in new windows.

    The solutions you provided won’t work for me… except maybe that one plugin but I don’t really want to use a plugin just for those two links.

    Would the developers be able to provide code I could add to the theme’s function.php file so I can accomplish this? Or let me know where I can find the code (what lines and what .php file) so I can attempt to change it myself?

    Eric

    #1422417

    Hi Eric,

    Thanks for confirming that this worked in a previous version.  I apologize for the inconvenience with this change.

    In any case, try adding the following snippet to your theme’s functions.php file and see if that resolves your issue:

    https://gist.github.com/cliffordp/3584b8aee70cde484700

    Let me know how it goes!

     

    Thanks,

    Jaime

    #1424228
    ericbonnici
    Participant

    Awesome! Works perfectly. Thanks Jaime!

    #1425608

    Hi Eric,

    Glad we could help, you are welcome back in our support forums any time!

    Since your issue has been resolved, I am going to close this thread.

    Have a great weekend!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Outbound links no longer open in a new browser window / tab’ is closed to new replies.