You can do this by using the wpt_event_date filter in your functions.php. Do you know how to do this.
Thread Starter
Epco
(@epco)
Ok,
No, don’t know how. (Still quite new to WP)
Could you give some good link to a tutorial for it? I like to learn instead of just copiing some magic code… π
Thanx
I might add your idea as a feature in one of the upcoming releases:
https://github.com/slimndap/wp-theatre/issues/50
Hi Epco,
I just released a new version (v0.8.2) that adds this functionality.
Use it like this:
{{datetime|date('D j')}}
Thread Starter
Epco
(@epco)
Hi Jeroen,
Great, but implementing it gave me some unwanted behaviour. Is it limited to datetime or can it also be used for date? The first adds the same ‘Thu – Wed 3’ (marks the ‘ !) for all dates, using it with date (which seems to work too, but giving a similar problem) gives ‘Thu 1’ everywhere.
Furthermore the site is a Dutch version of WordPress, but your code gives English days.
See for example http://moview.nl. On the pages Programma I have the standard date of WordPress (modded to ‘D j M’ and truncated through CSS, a bit ugly but gets the job done), on the pages English and subpage Programme I have your code added to the Theatre Events widget.
PS. I emailed you but thought it would be handier to post it here as well.
Looking into it right now.
Epco,
I just published an update (v0.8.2.1) that you fix all this.
Thread Starter
Epco
(@epco)
Great, that fixed it! π