mage-eventpress/inc/template-prts/thumbnail.php

12 lines
182 B
PHP
Executable File

<?php
add_action('mep_event_thumbnail','mep_thumbnail');
function mep_thumbnail(){
?>
<div class="mep-event-thumbnail">
<?php the_post_thumbnail('full'); ?>
</div>
<?php
}