File: /home/greer489/public_html/wp-content/themes/betheme/tribe-events/community/default-template.php
<?php
/**
* Default Events Template placeholder:
* Used to display community events content within the default events template itself.
*
* @link https://evnt.is/1ao4 Help article for Community Events & Tickets template files.
*
* @since 4.10.0
*
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* Allows filtering the classes for the main element.
*
* @since 5.8.0
*
* @param array<string> $classes An (unindexed) array of classes to apply.
*/
$classes = apply_filters( 'tribe_default_events_template_classes', [ 'tribe-events-pg-template' ] );
get_header();
?>
<div>
<main
id="tribe-events-pg-template"
<?php tribe_classes( $classes ); ?>
>
<?php
while ( have_posts() ) {
the_post();
the_content();
}
?>
</main> <!-- #tribe-events-pg-template -->
<?php
get_footer();
?>