Viewing 3 replies - 1 through 3 (of 3 total)
  • Brook

    (@brook-tribe)

    Hello crdunst,

    That is definitely a good question. In some circumstances that could be replaced with a call to tribe_events_get_filters(). That returns an array, and the key ‘tribe-bar-date’ will contain the HTML for that drop down. However, this should not be placed on the same page as the TribeBar because it will share an HTML id, so it is not quite the same.

    If you wish to have multiple selectors on the same page, checkout the function TribeEvents::setup_date_search_in_bar() where the HTML for that is generated. Then duplicate and modify it to fit your needs. Cheers!

    – Brook

    Thread Starter crdunst

    (@crdunst)

    Thanks for getting back to me. We just went with a modified TribeBar as it happens, but your info is useful to know for the future.

    Best regards

    Brook

    (@brook-tribe)

    I am happy to hear you got it working. Thanks for marking this resolved. – Brook

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Equivalent to tribe_month_year_dropdowns()’ is closed to new replies.