I showed several calendars in one page with following code and I wondered how I can set one of them as default view calendar. For example, there're 3 calendars:
[stachethemes_ec view="month" cal=1,2,3]
How can we define that the default view is only calendar with id#1 (so whoever wants to see cal #2 or #3 needs to go to the filter and choose them)?
Hi,
I showed several calendars in one page with following code and I wondered how I can set one of them as default view calendar. For example, there're 3 calendars:
[stachethemes_ec view="month" cal=1,2,3]
How can we define that the default view is only calendar with id#1 (so whoever wants to see cal #2 or #3 needs to go to the filter and choose them)?
Hi,
There's no built-in option to set default calendar.
I've written a small code that will do what you want. Place it in your theme functions.php file:
Stachethemes Developer
It works! Thank you!