• Resolved ABM

    (@andymulb)


    Hi,

    I’m using this plugin to get booking dates from Airbnb onto a clients website in month view. I noticed that the current month December is not visible if there is no booking. I am using two calendars. One for apartment 1 and the other one for the second apartment. Since one of them doesn’t have a booking in December yet the calendar starts in January which is kind of misleading.
    Is there an option to show the current month? I already tried to set the startdate to “today” which was visible in the debugging informations but it didn’t solve the issue.

    Thanks in advance!

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

    (@room34)

    As it’s currently configured, the calendar won’t start until it gets to a month that has an event in it. It really should be starting on the designated date if you use startdate or pastdays to specify a starting point. I’ll work on a fix.

    Plugin Author room34

    (@room34)

    OK, I was able to figure this out. The plugin actually was already configured where this should work, but there was a bit of missing logic for scenarios like this: where the first event in the feed is next year.

    Version 6.3.1.2 resolves this issue and will be available momentarily. You should not need to use either the startdate or pastdays setting.

    Thread Starter ABM

    (@andymulb)

    Awesome, thanks for your quick reply! I updated the plugin. The calendar still started in January. Then I activated reload=”true” and it was running perfectly. After I removed reload=”true” it wasn’t working anymore. Do you think it’s just a caching issue?

    Plugin Author room34

    (@room34)

    Hmm… that’s odd. Setting reload="true" is supposed to purge the transient for that shortcode.

    I just checked my test site and this fix worked regardless of whether reload="true" is set or not.

    Are you using a caching plugin? It’s possible that is doing something extra with the caching of the calendar beyond what this plugin does itself. If so, you may need to clear that cache as well.

    Thread Starter ABM

    (@andymulb)

    It was just a random caching issue. Thanks a lot! You’re doing a great job ??

    Plugin Author room34

    (@room34)

    Sounds good. Thanks! Let me know if anything else weird happens. ??

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