Convert additional field (URL) into a button on the single event template

Home Forums Calendar Products Events Calendar PRO Convert additional field (URL) into a button on the single event template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1037993
    Webmaster
    Participant

    Hi,

    I’ve created an additional field (a URL field) for users to complete when adding an event. I’d like this additional field to display on the single event page as a button with the title ‘Photo gallery’ if a URL has been entered in the field.

    Previously there was a post/page explaining how buttons can be created for additional fields like this, but it seems to have disappeared – would you be able to tell me how I might be able to achieve this?

    Thank you

    #1038438
    George
    Participant

    Hi @webmaster,

    This is possible but would unfortunately require some custom coding – I would recommend getting familiar with the custom templating system within The Events Calendar by reading this guide: https://theeventscalendar.com/knowledgebase/themers-guide/

    You could then use those principles to achieve this:

    I’d like this additional field to display on the single event page as a button with the title ‘Photo gallery’ if a URL has been entered in the field.

    I unfortunately cannot find the article or page you’re referring to that explains this in more detail 🙁

    Sorry to disappoint about this last point – but best of luck with your customizations!

    Sincerely,
    George

    #1076055
    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 ‘Convert additional field (URL) into a button on the single event template’ is closed to new replies.