Is it possible to use two templates, one for the calendar and one for the individual event? I would like to use a full-width template for the month-view calendar but would like a sidebar for the individual event pages. Is that possible?
You can only use one template, but within that template you can conditionally show or hide or change markup to be able to have different layouts within that same template. You can use these conditional wrappers (https://gist.github.com/jo-snips/2415009) to conditionally set things based upon the plugin page you are.
Hi Jonah –
Thank you for the response. I’m not sure I understand. This is a little past my skill set. I’m not sure how I would turn the sidebar on or off.
Tony
Yeah it’s a bit involved. Basically you first need to figure out what template you are using for our plugin first by visiting Events > Settings > Template. Then, based on that I can give you some more instruction. Let me know what you’ve got set there and we can go from there.
– Jonah
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Posssible to use two templates?’ is closed to new replies.