Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save theeventscalendar/632a24421c22fcab9b3f to your computer and use it in GitHub Desktop.
Save theeventscalendar/632a24421c22fcab9b3f to your computer and use it in GitHub Desktop.
Change event or venue links in The Events Calendar to the relevant website URL
@cliffordp
Copy link

Don't include the initial <?php if you're adding it to your theme's functions.php file, since it's already at the top of that file.

@seedylewis
Copy link

Any ideas on how to get the links to open in a new window?

@w-biggs
Copy link

w-biggs commented Jan 15, 2019

This doesn't seem to work on the calendar view for some reason.

Edit: Seems like tribe_set_link_website isn't called on the calendar.

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