Mini Calendar Widget – default display month as that of next upcoming

Home Forums Calendar Products Events Calendar PRO Mini Calendar Widget – default display month as that of next upcoming

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #137017
    chrisdm
    Participant

    This tutorial is working for me, https://theeventscalendar.com/fast-forward-to-the-next-upcoming-event/ with code in functions file, but I have multiple widgets i’d like to show and am using widget logic to show them on different pages. I can’t figure out how to get the change in month to only work on one of the calendars. Does anyone know how to do this?

    #138821
    Barry
    Member

    Hi – interesting question!

    We can’t help too much with custom dev issues like this, but probably a good starting point is to amend the Tribe_Advance_Minical::advance_minical() method. Since this receives information about the actual widget instance you can probably either add some custom rules in there to limit the instances it will take effect on (you might even be able to test against the actual Widget Logic rule in place for that widget).

    I hope that helps – good luck 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Mini Calendar Widget – default display month as that of next upcoming’ is closed to new replies.