Hi, I recently purchased the events calendar pro (awesome), but have hit a snag. While making some minor adjustments to the “single-event-allday.php” template file to try and get just the venue to show, nothing else. It’s working fine, except it shows the same venue for every event, and I can’t figure out what else to do. Tried using wp_reset_postdata() just for the heck of it and no beuno. If you could help me out that would be awesome.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
} ?>
<?php if ( tribe_events_week_is_all_day_placeholder() ) : ?>
<div class="tribe-event-placeholder hentry vevent " data-event-id="<?php tribe_events_week_get_event_id(); ?>"> </div>
<?php else : $event = tribe_events_week_get_event(); ?>
<div id='tribe-events-event-<?php echo $event->ID; ?>' class='<?php echo tribe_events_event_classes( $event->ID ); ?> tribe-week-event' <?php tribe_events_the_header_attributes( 'week-all-day' ); ?> data-tribejson='<?php echo tribe_events_template_data( $event ); ?>'>
<div>
<h3 class="entry-title summary">
<a href="<?php tribe_event_link( $event ); ?>" class="url" rel="bookmark"><?php echo $event->post_title; ?></a>
</h3>
<?php tribe_get_template_part( 'modules/meta/venue' ); ?>
</div>
</div>
<?php wp_reset_postdata(); ?>
<?php endif; ?>