Using Templates
Sometimes you may want to alter the Wicked Calendar HTML to add your own content or functionality or to make it match your theme better. Whatever the reason, overriding templates in Wicked Calendar is a breeze!
What is a template?
Wicked Calendar uses templates for most of the HTML that is output by the plugin. For example, all views such as month, list, day, etc. all use their own template. Widgets and the day popup also use templates. Generally speaking, if the plugin renders HTML somewhere on the front-end, there is a template for it. Our template system is designed so that you can easily override templates in your own theme without worrying about plugin updates overwriting your changes.
Overriding Templates
Templates can be found in the ‘templates’ directory within the Wicked Calendar plugin directory (normally located at /wp-content/plugins/wicked-calendar
).
wicked-calendar-pro/plugins/wicked-calendar/templates
while the templates that come with the pro version are in wicked-calendar-pro/templates.To override a template, simply copy the template file that you want to override to wp-content/themes/MYTHEME/wicked-calendar
. If you are overriding a pro template, copy the file to wp-content/themes/MYTHEME/wicked-calendar/pro
. Once you’ve copied the file to your theme, Wicked Calendar will automatically detect it and use it.