[Resolved] How I replaced hyphen with en-dash in widget ranges
Should one use a hyphen in a date range? Should one use an en-dash? It depends on the style guide that your organization has adopted. I use an en-dash, and so here’s how I quickly replaced the hyphens in the Events List widget with en-dashes. (I didn’t try to perform a substitution over the entire plugin.)
<?php echo tribe_events_event_schedule_details(); ?>
<?php echo str_replace('-', '–', tribe_events_event_schedule_details()); ?>
- The topic ‘[Resolved] How I replaced hyphen with en-dash in widget ranges’ is closed to new replies.