=== iCal Events === Tags: calendar, events Contributors: dwc A plugin for getting and displaying upcoming events from a shared calendar. This plugin uses import_ical.php from the WebCalendar project. == Installation == 1. Upload `ical-events.php` and `import_ical.php` to your plugins folder, usually `wp-content/plugins`. 2. Activate the plugin on the Plugins screen. 3. Place the following in your template: `` This example displays three events from the University of Florida calendar, from the current time forward. For more information, see below. == Frequently Asked Questions == = How can I control the output of this plugin? = The `display_events` function takes the following arguments: * URL: The URL of the iCal file. * Start time (optional): Only events from this time forward are displayed. If not specified, the earliest events are displayed. * End time (optional): Only events before this time are displayed. * Number of events (optional): The maximum number of events to display. * Date format (optional): The format string used to format dates (see strftime documentation). Default: `%a %b %d`. * Time format (optional): The format string used to format times. Default: `%l:%M %p`. * Before (optional): HTML or text to display before each event. Default: `