Is it possible to do or change something so that when events are returned in search results the event date is shown? Right now I have no date, or the date that the post was entered into the calendar. I’m okay with no date over the entry date, but ideally I’d love the event date to be part of what is returned to the user.
This may be possible, Tara – thanks for the question. It’s not doable out of the box but let me see if our dev Jonah has any suggestions as to how this could be doable. I’ll get him to respond here if so.
What you’ll need to do is modify your themes search results template. Typically this is the search.php file. You’ll need to conditionally check to see if the post in the results is an event which you can do with our template tag tribe_is_event() – and then display the event date with the tribe_get_start_date function – so for example: