Hi!
That sounds like a great idea – it’s a fairly bespoke customization though so the amount of help we can offer is limited – but here is the sort of approach I’d explore if I were personally taking this on.
First of all, review this tutorial which explains how you can set the calendar widget to any month you like using syntax like:
new Tribe_Advance_Minical('2014-12'); // December 2014
Then create a new wrapper function (which you might define this in your theme’s functions.php file). Within that function, you could:
- Determine the month/year of the current event by using tribe_get_start_date()
- Set up a Tribe_Advance_Minical object as described above, using the event date (in yyyy-mm format)
- Use WordPress’s the_widget() function to actually pull in the widget itself
You could probably wrap this up quite nicely within a single function then just drop your custom function into a template override for single-event.php (please see our Themer’s Guide for an outline of this process if you haven’t already done so).
Again, we can’t really offer much more for a customization of this nature but I hope that at least gives you a few ideas.
Good luck 🙂