Widget – Ticket box

Home Forums Ticket Products Event Tickets Plus Widget – Ticket box

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1551119
    Tiago Silva
    Participant

    Hi.
    I need to create a custom page for event and include the ticket/rspv box like widget. How can i do?

    #1552573
    Sky
    Keymaster

    Hi there!

    Thanks for reaching out. I will try to help with your question.

    There’s not an easy way to add the ticket form outside of the single events template, as it is added via action hooks and relies on the loop variables being defined.

    You could create a custom single-event template that contains a conditional to do one thing if the post you want to target, otherwise something else. For the conditional, you could use the “$event_id” variable and check it against the id of the specific event you want to target.

    The template you would want to work with is the-events-calendar/src/views/single-event.php. You can copy this into your child theme in your-theme]/tribe-events/single-event.php and add your modifications.

    For more information on working with custom event templates, see our Themer’s Guide.

    Hope that helps! Let me know if you have any further questions.

    Thanks,
    Sky

    #1568355
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Widget – Ticket box’ is closed to new replies.