Home › Forums › Calendar Products › Events Calendar PRO › Adding Venue to Photo View
- This topic has 3 replies, 4 voices, and was last updated 9 years, 4 months ago by
Heather.
-
AuthorPosts
-
December 8, 2016 at 8:00 pm #1203668
Heather
ParticipantHow do I add the Venue to show below the event date in Photo view? I found this code in an older closed post but I have no idea where exactly to paste it in the photo/single-view.php file: <?php echo tribe_get_venue() ?> I tried a few spots but nothing seemed to work. Thank you.
<div class=”tribe-events-photo-event-wrap”>
<?php echo tribe_event_featured_image( null, ‘medium’ ); ?>
<div class=”tribe-events-event-details tribe-clearfix”>
<!– Event Title –>
<?php do_action( ‘tribe_events_before_the_event_title’ ); ?>” title=”<?php the_title() ?>” rel=”bookmark”>
<?php the_title(); ?>
<?php do_action( ‘tribe_events_after_the_event_title’ ); ?>
<!– Event Meta –>
<?php do_action( ‘tribe_events_before_the_meta’ ); ?><div class=”tribe-events-event-meta”>
<div class=”tribe-event-schedule-details”>
<?php if ( ! empty( $post->distance ) ) : ?>
[<?php echo tribe_get_distance_with_unit( $post->distance ); ?>]
<?php endif; ?>
<?php echo tribe_events_event_schedule_details(); ?></div>
</div><!– .tribe-events-event-meta –>
<?php do_action( ‘tribe_events_after_the_meta’ ); ?><!– Event Content –>
<?php do_action( ‘tribe_events_before_the_content’ ); ?><?php do_action( ‘tribe_events_after_the_content’ ) ?>
</div><!– /.tribe-events-event-details –>
</div>
<!– /.tribe-events-photo-event-wrap –>December 11, 2016 at 9:09 pm #1204586Hunter
ModeratorHey Heather 🙂
If you open up /events-calendar-pro/src/views/pro/photo/single-event.php, you can try dropping the <?php echo tribe_get_venue() ?> code in, refresh the page and see if it fits where you’d like. I hope this helps and have a great Monday. Cheers!
January 2, 2017 at 8:35 am #1212277Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Adding Venue to Photo View’ is closed to new replies.
