[Plugin: Events Manager] Provide semantic, css-stylable markup
I’m trying to customize some aspects of Events Manager and running into limitations of the html markup used.
For instance the Date/Time column on an events page contains just TDs with undifferentiated date and time information:
<td><br /> 05/10/2012 - 09/10/2012<br /> 00:00 -00:00<br /> </td>
This makes it impossible to adjust the style of either the date or the time independently; it also makes it impossible to hide either using CSS.
Proposal: use sth like the following:
<td> <span class="em_date"> <span class="em_startdate">05/10/2012</span> - <span class="em_enddate">09/10/2012</span> </span> <span class="em_time">00:00 -00:00</span> </td>
This is an example for date and time with an event that spans multiple dates, but event name and location have the same problem. E.g. currently location is simply hardcoded in
tags without any semantic indication of what it is, placing it out of reach for users who want to customize how events are displayed.
- The topic ‘[Plugin: Events Manager] Provide semantic, css-stylable markup’ is closed to new replies.