Home › Forums › Ticket Products › Event Tickets Plus › Displaying Tickets
- This topic has 7 replies, 2 voices, and was last updated 9 years, 10 months ago by Casey.
-
AuthorPosts
-
July 6, 2014 at 2:59 pm #291894hodephinitelyParticipant
If I want to just list the tickets associated with an event on a custom theme page (single-event.php), how do I do it? I can’t seem to find any content relating to tickets in the default files for Event Calendar…
July 8, 2014 at 6:50 am #309633CaseyParticipanthodephinitely,
Thanks for getting in touch! Unfortunately, this isn’t currently possible in the latest version of the add-on, but that would be a great feature to have. If this is something you’d like to see in a future release, I would suggest submitting it as an idea on our UserVoice page. Our team periodically reviews the most popular ideas for possible inclusion in a future release of the plugin.Hopefully that helps to answer your question, but let me know if I can assist further. Thanks! 🙂
-Casey-
July 8, 2014 at 7:18 am #309771hodephinitelyParticipantHang on- so how do people buy the tickets for an event..?
July 8, 2014 at 7:34 am #309853CaseyParticipanthodephinitely,
Our ticketing plugins automatically hook into the ‘tribe_events_single_event_after_the_meta’ action hook to display the tickets on the Single Event screen. Unfortunately, there’s not currently a way to list tickets outside of this method.Hope that helps clear things up!
July 9, 2014 at 10:00 am #322673hodephinitelyParticipantWhere can I find the code that that outputs?
July 9, 2014 at 12:04 pm #323400CaseyParticipanthodephinitely,
Take a look at the front_end_tickets_form() function on line 473 of ‘wootickets/classes/class-wootickets.php.’ This is where the ticket data is being retrieved, and then the ‘views/wootickets/tickets.php’ template file is used to display the ticket data.Hopefully that points you in the right direction! Thanks! 🙂
-Casey-
July 9, 2014 at 12:05 pm #323410hodephinitelyParticipantAwesome, thanks.
July 9, 2014 at 12:15 pm #323465CaseyParticipantExcellent! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘Displaying Tickets’ is closed to new replies.