I am using CMB2 to create a custom post type called
event. This custom type has a field called 'Event Date' which is of type
When a user goes to an event page, I need the page to show a big 'Book Ticket' button if the current date is before the event's date.
How can I change the template file (
single-event.php) so that this button is show below the main content?