File: /home/scientificreligi/public_html/wp-content/themes/scientific-religion/tribe/events/v2/list.php
<?php
/**
* View: List View
*
* Override this template in your own theme by creating a file at:
* [your-theme]/tribe/events/v2/list.php
*
* See more documentation about our views templating system.
*
* @link http://evnt.is/1aiy
*
* @version 5.2.1
*
* @var array $events The array containing the events.
* @var string $rest_url The REST URL.
* @var string $rest_method The HTTP method, either `POST` or `GET`, the View will use to make requests.
* @var string $rest_nonce The REST nonce.
* @var int $should_manage_url int containing if it should manage the URL.
* @var bool $disable_event_search Boolean on whether to disable the event search.
* @var string[] $container_classes Classes used for the container of the view.
* @var array $container_data An additional set of container `data` attributes.
* @var string $breakpoint_pointer String we use as pointer to the current view we are setting up with breakpoints.
*/
$header_classes = [ 'tribe-events-header' ];
if ( empty( $disable_event_search ) ) {
$header_classes[] = 'tribe-events-header--has-event-search';
}
$wrapper_class = array('row gf-blog-inner clearfix layout-grid gf-event-style-01', 'g5plus-tribe-events-loop');
$columns_gutter = G5Plus_Auteur()->options()->get_event_columns_gutter();
$wrapper_class[] = 'gf-gutter-' . $columns_gutter;
?>
<div
<?php tribe_classes( $container_classes ); ?>
data-js="tribe-events-view"
data-view-rest-nonce="<?php echo esc_attr( $rest_nonce ); ?>"
data-view-rest-url="<?php echo esc_url( $rest_url ); ?>"
data-view-rest-method="<?php echo esc_attr( $rest_method ); ?>"
data-view-manage-url="<?php echo esc_attr( $should_manage_url ); ?>"
<?php foreach ( $container_data as $key => $value ) : ?>
data-view-<?php echo esc_attr( $key ) ?>="<?php echo esc_attr( $value ) ?>"
<?php endforeach; ?>
<?php if ( ! empty( $breakpoint_pointer ) ) : ?>
data-view-breakpoint-pointer="<?php echo esc_attr( $breakpoint_pointer ); ?>"
<?php endif; ?>
>
<div class="tribe-common-l-container tribe-events-l-container">
<?php $this->template( 'components/loader', [ 'text' => __( 'Loading...', 'g5plus-auteur' ) ] ); ?>
<?php $this->template( 'components/json-ld-data' ); ?>
<?php $this->template( 'components/data' ); ?>
<?php $this->template( 'components/before' ); ?>
<header <?php tribe_classes( $header_classes ); ?>>
<?php $this->template( 'components/messages' ); ?>
<?php $this->template( 'components/messages', [ 'classes' => [ 'tribe-events-header__messages--mobile' ] ] ); ?>
<?php $this->template( 'components/breadcrumbs' ); ?>
<?php $this->template( 'components/events-bar' ); ?>
<?php $this->template( 'list/top-bar' ); ?>
</header>
<?php $this->template( 'components/filter-bar' ); ?>
<div <?php tribe_classes( $wrapper_class ); ?>>
<?php foreach ( $events as $event ) : ?>
<?php $this->setup_postdata( $event ); ?>
<?php $this->template( 'list/month-separator', [ 'event' => $event ] ); ?>
<?php $this->template( 'list/event', [ 'event' => $event ] ); ?>
<?php endforeach; ?>
</div>
<?php $this->template( 'list/nav' ); ?>
<?php $this->template( 'components/ical-link' ); ?>
<?php $this->template( 'components/after' ); ?>
</div>
</div>
<?php $this->template( 'components/breakpoints' ); ?>