How to make a click on an event in a list redirect to a custom URL…

Home Forums Calendar Products Events Calendar PRO How to make a click on an event in a list redirect to a custom URL…

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1007911
    MT
    Participant

    How to make a click on an event in a list redirect to a custom URL instead of showing the event as a post in the traditional single view?

    I want to be able to decide what events to send to an custom URL, so I don’t want all events to be treated in that way.

    Is this possible?

    #1008268
    George
    Participant

    Hey @tommy,

    This is indeed possible but would require some custom coding. We unfortunately do not support custom coding so this isn’t something we can totally help with, but I’m happy to share some general ideas to hopefully get you started on the path towards customization.

    First and foremost is how to store the Redirect URL for each event – assuming each one will have a different URL that it will redirect to.

    For this, I think a great solution would be using Events Calendar Pro’s built-in “Additional Fields” feature. You can learn how to use this feature here: https://theeventscalendar.com/knowledgebase/pro-additional-fields/

    Next, in the list view templates for events, you can edit the current title-generation code so that instead of the single-event permalink being the title link, your custom URL is. This is where the custom coding comes into play, but to get started on this I’d recommend first reading our Themer’s Guide to learn how to make custom events templates → https://theeventscalendar.com/knowledgebase/themers-guide/

    If you use those principles and play around with this a bit, I’m sure you’ll be able to make something useful.

    Best of luck with your customizations!

    George

    #1013066
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to make a click on an event in a list redirect to a custom URL…’ is closed to new replies.