For the life of me I cannot find how to do this:
When displaying a calendar the days are listed as:
M - T - W - T - F - S - S
In need to change these to show as:
Mon - Tue - Wed - Thur - Fri - Sat - Sun
Essentially all I need to do is change d to D ... but I simply cannot find where to do it!
TIA
http://wordpress.org/extend/plugins/events-manager/
What you can do is edit the calendar templates as instructed here:
http://wp-events-plugin.com/documentation/using-template-files/
the file you want is calendar-small.php
I understand that, and have edited many of the files, but I simply cannot find where to change the day format.
Seriously, I've looked everywhere!
The code that produces the day is:
<?php echo implode('</td><td>',$calendar['row_headers']); ?>
but where that gets M - T - W etc from I simply cannot find.
where it says date_i18n(... you can change the format of days there
Appreciate your help Marcus - Only reference I can find is in the Month navigation:
<td class="month_name" colspan="5"><?php echo ucfirst(date_i18n('F Y', $calendar['month_start'])); ?></td>
this is in both calendar-small and full.php
The Days element is:
<tr class="days-names">
<td><?php echo implode('</td><td>',$calendar['row_headers']); ?></td>
</tr>
agelonwl
Member
Posted 8 months ago #
You can try editing classes/em-calendar.php line 276; change $length=1 to 3
be sure to backup files before editing.
That totally fixed it, thanks!
agelonwl
Member
Posted 8 months ago #
great to hear that! tag this as resolve
gah! i always forget 'resolved'!