When I enter the optional datetime description for an event, it displays prefixed with a hyphen and a space. Is it possible to suppress that hyphen and space?
Yes it’s possible. You probably have a functions file or functions plugins where you’re adding custom code to? If so, you copy the entire espresso_list_of_event_dates()
function from the /public/template_tags.php file into your custom functions file.
Then you make an edit to your copy and remove the hyphen and space from this line of code. Your finished edit of that line will look like this: $html .= ! empty( $datetime_description ) ? $datetime_description : '';
Viewing 1 reply thread
The support post ‘Remove hyphen + space from datetime description display’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.