Distinguish Start date / End date in the widget
-
Hello,
I would like to display in the “upcoming events” widget events with start date and end date in this format: #_{d F Y} in an icon calendar.
Please see an example here.
The problem is that I don’t know how to display both dates.I’ve tried to use placeholder #_EVENTDATES but I configured this way (l d F Y) to display i a single event.
The EVENTSDATES placeholder displays dates in this form: l d F Y – l d F Y.
So it’s very limited if I want to customize the style of the date.Is there a chance to have start date in a div and end date to another.
The ideal would be someting like that:
<div class="start-date"> <-- icon calendar --> <div class="date-year">Y</div> <div class="date-month">F</div> <div class="date-day">d</div> </div> <div class="end-date"> <-- icon calendar --> <div class="date-year">Y</div> <div class="date-month">F</div> <div class="date-day">d</div> </div>
Any help would be greatly appreciated.
Regards.
- The topic ‘Distinguish Start date / End date in the widget’ is closed to new replies.