Display Event Status in List View
-
I’ve created a custom event status per your tutorial here.
I’ve got the status displaying in list view using elements from the aforementioned tutorial and here.
<?php echo get_post_meta( get_the_ID(), '_tribe_events_status', true ) ?>
But it displays the value, not the accompanying “text” field, per that first tutorial. I cannot believe I haven’t found more on this anywhere and I’ve exhausted my Googling.
Can anyone please assist in helping me display a nice “Sold Out” instead of sold_out? (I know this is available in Pro, but the client doesn’t need that robust of a calendar, but this is a key element that really would be helpful if included in the free version.)
Thank you so much. ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display Event Status in List View’ is closed to new replies.