Templates is located under My Calendar > Design > Templates. Template Editor Core Templates The core templates will display event details and appear in five places: gridThe main grid calendar. The content that appears in the popup window. listThe list view calendar. miniThe mini view calendar. details (single event)The single event view, or details page. […]
Continue reading “Design – Templates” »Category: Templates
PHP Templates
Version 3.5 of My Calendar introduced support for PHP-based templates. When enabled, these templates replace the entirety of the previous templating system. My Calendar’s default templates are found at /my-calendar/mc-templates/. To use PHP templates in your site, copy the desired file into your theme, using the same file directory path. For example, the template at […]
Continue reading “PHP Templates” »Single Event Template
By default, the single event view uses the single.php template from your WordPress theme, or whatever nearest template is appropriate based on the template hierarchy. You can customize the template by using a single-mc-events.php template file in your theme or child theme directory. Copy whatever template file is closest to what you want for your […]
Continue reading “Single Event Template” »Template Tag Index
All template tags support two attributes: before=”value” and after=”value”. The values of the attributes will be placed before and after the output value. These attribute values must be wrapped in double quotes. Date/Time template tags support the “format” attribute: format=”M, Y”, where the value is a PHP formatted date string. Only dtstart and dtend include […]
Continue reading “Template Tag Index” »