I would like to split the eventscalendar up by year using (sub)menus.
As 2012 was the first year I used events organiser, this hasn't come up yet.
I made a specific page template for showing the events at http://www.kartcross.be.
Now I am trying to use submenus to the Kalender menu - using the wordpress menu system, one submenu per year.
Only events pertaining to that year are to be shown.
As the modification to the page template is very limited, I'd like to reuse the same template by adding the year parameter. All events carry a year category.
<!-- Event list --> <?php $events = eo_get_events(array('event-category'=>'<YEAR>' )); ?> <?php if($events):
The question: How can I pass that year parameter to the template?
A submenu has a title attribute which could be used, but I have not yet found a way to get to it from the template