n4pwpsupport
Forum Replies Created
-
Hi again.
It works, thank you!
But the tickets are still groupped by event. And is it possible to have them ungroupped?
i.e.:
ticket_id_1 – event1 – 03/01/18
ticket_id_2 – event1 – 03/02/18
ticket_id_3 – event2 – 03/03/18
ticket_id_4 – event3 – 03/10/18
ticket_id_5 – event1 – 03/21/18
ticket_id_6 – event4 – 04/05/18Now they are outputed in cycle for each event (as I understood – we take the event_id -> show all tickets for this event_id -> take the next event_id -> show all tickets of this event -> …).
Is it possible smth like this logic:
step1: take ticket_id
step 2: show this ticket’s name/desc
step 3: take the event_id of this ticket
step 4: show event_name/url of this ticket
step 5: goto step 1So it should be based on the _em_tickets table (sorry if my description is chaotic ?? ).
Many thanks!
Hi.
On the front-end. To have the list of the ongoing tickets (which are the lessons or seminars in our case) for all visitors (so they can see the order).
If it would be for 1 event – it would be easy. But we’d like to have the tickets of all events in one table (sorting by id or date of the tickets but not event’s id/date).
Thank you!
Angelo, thanks for the info.
But how to get the first/second/third category name/id?
In vanila WP the
$category = get_the_category(); echo $category[0]->cat_name;
returns the name of the category in brackets (0/1/2/3…).
Why it doesn’t work in EM? the_category () works and get_the_category() – doesn’t.