Jump to first month with an event

Home Forums Calendar Products Events Calendar PRO Jump to first month with an event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #133354
    philiplight
    Participant

    Hello,

    We are using TEC to show a calendar of class options, via…

    $args = ‘filters={“tribe_events_cat”:[“‘.$cat.'”]}&title=Dates:’;
    the_widget(‘TribeEventsMiniCalendarWidget’, $args);

    …which takes a passed Event Category and displays the widget. It works as expected, but we were hoping there was a way for it to jump straight to the first month that has an event. Right now, the first event isn’t for a couple months, so they have to scroll through a couple empty months to get to the first class option.

    Can be done?

    Thanks much!
    Philip

    #133526
    Barry
    Member

    It’s definitely possible but will require some customization work.

    This tutorial is in need of some updates (hence the caveat at the start!) so it won’t work quite as expected as is, even so it could serve as a useful blueprint for you if you want to go ahead and build your own solution here.

    I hope that helps – and good luck 🙂

    #532780
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Jump to first month with an event’ is closed to new replies.