mage-eventpress/templates/event-archive.php

23 lines
693 B
PHP
Raw Normal View History

2021-12-13 23:32:55 -05:00
<?php
get_header();
the_post();
2022-10-05 21:54:03 -04:00
do_action('mep_event_single_page_after_header',get_the_id());
2021-12-13 23:32:55 -05:00
?>
<div class="mep-events-wrapper">
2021-12-22 05:57:18 -05:00
<div class='mep_event_list'>
<div class='mage_grid_box'>
<?php
$loop = mep_event_query(18, 'ASC', '', '', '', '', 'upcoming');
while ($loop->have_posts()) {
$loop->the_post();
do_action('mep_event_list_shortcode', get_the_id(), 'three_column', 'grid');
}
wp_reset_postdata();
mep_event_pagination($loop->max_num_pages);
?>
</div>
2021-12-13 23:32:55 -05:00
</div>
</div>
<?php
do_action('mep_event_single_page_before_footer');
get_footer();