Skip to content

Instantly share code, notes, and snippets.

@elimn
Last active December 23, 2020 20:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save elimn/5bac70de00ec92804dc7 to your computer and use it in GitHub Desktop.
Save elimn/5bac70de00ec92804dc7 to your computer and use it in GitHub Desktop.
MT | TEC | Change event, venue, or organizer links to the relevant website URL
@Sturel
Copy link

Sturel commented Sep 1, 2015

Hi! This is exaclty what I'm looking for. Could you please let me know where I should put this code?

@shovanco
Copy link

shovanco commented Sep 4, 2015

Hi This does not work any more? I tried it on function.php

@sara-mansouri
Copy link

Hello,
There is a note on the website mentioning that this snippet was written to work with the legacy calendar views. It may require additional customization to apply on sites using the updated 5.x calendar views.
https://theeventscalendar.com/knowledgebase/k/make-links-to-an-event-go-straight-to-the-event-website-url/
I wonder what are the required customization to work with 5.x calendar views.
We need to open the links (external) in a new tab directly from the calendar view instead of navigating users to the single event view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment