Open rockymtnlinux opened 9 years ago
Hi
I created this fork to manage some changes I needed to make for a client. It was a while ago but I think it was only so that it would work properly in a child theme, glad you found it useful.
Your changes seem reasonable to me so I'll include them after I've had chance to give them a rudimentary test.
Hello,
I don't know what your plans are for wp-calendar, but I would like to contribute some minor fixes. I tried several calendars and this is the only one that I found that I could use to link posts to events. Unfortunately it is in sad need of some updating and the original maintainer seems to have moved on to bigger and better things ( I hope. ). I thought about doing my own fork, but would rather not if there is already one available to which I can contribute. I'm attaching a patch file created from the diff utility against the 1.5.3 version of fsCalendar.php which contains my changes.
The changes are:
1) Added a call to do_shortcode so that short code will be evaluated on the single event page. With this I was able to add shortcode and use the FlexibleMap plugin to automatically include a map for all of my events for which a location is specified, like so:
[flexiblemap width="100%" scrollwheel="true" hidepanning="false" directions="true" direction address="{event_location}"]
2) I reformatted the comments regarding filtering events by date -- mainly so I could make sense of it.
3) I added a fix to event list pagination which is broken on newer versions of WordPress.
Here is the patch: