Support » Plugin: ICS Calendar » Show current month when no events

  • Resolved twesty


    With the month view – it seems the Calendar will show the month of the first ICS event to the month of the last ICS event including any empty months in between.

    However is it posible to change the behavour to show from the CURRENT month to the month of the last ICS event even if current month and subsequent months have no events?

    In my use case it is confusing to have the calendar start with some future month when first ICS event occurs, rather than the current month.

    Fantastic plugin by the way – was thrilled when i discovered it.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author room34


    Thanks for writing. I’m a bit confused at the behavior you’re describing, because the plugin is coded to only include events that start on the first day of the current month or later. (In the current version,, that conditional is on line 232 in the file ics-calendar.php.)

    Would you be able to share both the URL of the page your calendar is displaying on and the direct URL of your ICS feed so I can test it? For privacy, you can email these URLs to the email address on the plugin’s admin page instead of posting them here.


    Thread Starter twesty


    Thanks, sorry to clarify, my issue is that if there are NO events in the current month, then the current month is NOT shown. In my use case I want the current month shown (and all future months up to the last event.

    Yes, i don’t know why this isn’t implemented yet, Calendar must show current month even when there are no events.

    Plugin Author room34


    Ah… I think I understand now. You’re describing a situation in which the first event that appears in the feed is in a future month… is that correct?

    This was just an oversight as I’ve never worked with a feed in building this that didn’t have events in the current month.

    This should be easy to fix. Look for an update within the next couple of days.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show current month when no events’ is closed to new replies.