File "calendar-body.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/src/views/v2/month/calendar-body.php
File size: 914 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* View: Month View - Calendar Body
*
* Override this template in your own theme by creating a file at:
* [your-theme]/tribe/events/v2/month/calendar-body.php
*
* See more documentation about our views templating system.
*
* @link http://evnt.is/1aiy
*
* @version 4.9.8
*
* @var array $days An array containing the data for each day on the calendar grid, divided by day.
* Shape `[ <Y-m-d> => [ ...<day_data> ] ]`.
*/
?>
<div class="tribe-events-calendar-month__body" role="rowgroup">
<?php foreach ( array_chunk( $days, 7, true ) as $week ) : ?>
<div class="tribe-events-calendar-month__week" role="row" data-js="tribe-events-month-grid-row">
<?php foreach ( $week as $day_date => $day ) : ?>
<?php $this->template( 'month/calendar-body/day', [ 'day_date' => $day_date, 'day' => $day ] ); ?>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>