Hello and thank you for posting 🙂
Our Themer’s Guide goes into great detail on how our plugin handles custom templates.
Please let me know if this helps and best of luck with the customizations. Have a good one and thanks for choosing TEC!
Problem solved! I did find that Themer’s Guide when first faced with the issue. Though it is a little unclear about the resolution. Themers Guide says…
“You can also modify the selected template’s markup to adjust things as well. To do that first find out what template you are using in Events –> Settings –> Display. If you have selected the Default Events Template, the plugin will use the /wp-content/plugins/the-events-calendar/src/views/default-template.php template file for the display. You can override and edit this by making a copy and placing in an ‘tribe-events’ folder in your theme.
All of the other Events Template options will use one of your available theme page templates (page.php, full-width.php, etc.) which you can also edit.”
Why not just say…”Create a file called template-events.php”?!
Happy to hear you’ve resolved the issue and we’ll gladly take your feedback into consideration. Have a good week!
I thought that I had this figured out but I guess I do not. In your guide you say to override a wrap create a file called default-template.php in the tribe events folder created in your theme folder. Didnt work. In a video you released you demonstrate to override the wrap you just have to create a file called page-custom-events.php and it should show up in settings > display. It does not. In order to override the display wrap I created a file called template-events.php. This shows up under settings > display. But when I view the calendar on the mobile site it displays improperly. Is there something I am missing?
My website is http://www.nerej.com
Hi @coreykane187,
But when I view the calendar on the mobile site it displays improperly. Is there something I am missing?
Sorry for the trouble! Is your custom template pulling in the calendar’s stylesheets? If not, then you might need to add your own markup and CSS to style things accordingly.
Cheers!
Geoff
Thanks @geoffgraham!
I was making a newbie mistake. I needed to make a copy of template-events.php in my mobile theme since it obviously switches over to it when your on a mobile device. I’ll need to modify everything to fit nicely in the mobile view but at least we are loading CSS now. Cant’t believe it took me that long to figure it out. Well….on to more problems 🙂
Thanks for your time!
Corey
-
This reply was modified 9 years, 6 months ago by
coreykane187.