That’s awesome, thanks Kelly. I’ve sorted my tickets by ID and everything is working perfectly. Thanks!!!
One note – when copying the code from the tutorial (using Chrome on OSX) it also copied some extra info regarding the URL for the tutorial e.g. when I copied the first code snippet this is what appeared when pasted into Sublime Text:
function tribe_wootickets_custom_sort($p, $q) { if ($p->name name) return -1; if ($p->name > $q->name) return 1; return 0; } – See more at: https://theeventscalendar.com/knowledgebase/changing-the-order-of-tickets/
Nothing I couldn’t fix by deleting the extra code but it might catch out some people.
Cheers!
-
This reply was modified 11 years, 1 month ago by
Leah.