An ICS Calendar user in the Netherlands requested a feature that apparently is quite commonly used in Europe, but is not something I’ve encountered very often (if ever!) in U.S. calendars: week numbers preceding each week in the table.
Fortunately, PHP makes it pretty easy to get the week-in-year number for any given date, so it was a fairly simple task to add support for week numbers into ICS Calendar.
Now, if you add weeknumbers="true"
to your shortcode (month or week view only), an extra, narrow column will be added to the left side of the table, indicating the week number for each row.
In keeping with the theme of international support, this version of the plugin also includes some i18n enhancements, with a few improved translation strings for help text on the admin side of things. A similar update will be coming soon for ICS Calendar Pro. (But seeing as Pro has a lot more admin text, it’s a much bigger undertaking!) Support for the new week numbers feature within the calendar builder will also be coming in the next Pro update… but in the meantime, Pro users can add weeknumbers="true"
directly to their existing id
-based shortcodes to use the feature. (Once they’ve updated ICS Calendar to 8.11.0, of course!) That would look something like this: [ics_calendar id="1234" weeknumbers="true"]
Version 8.11.0 also includes a couple of “under the hood” updates to improve security and performance. It should be available now in your WordPress site’s updates, or you can download it here.
—Scott