Adding Venue to Photo View

Home Forums Calendar Products Events Calendar PRO Adding Venue to Photo View

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1203668
    Heather
    Participant

    How 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 –>

    #1204586
    Hunter
    Moderator

    Hey 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!

    #1212277
    Support Droid
    Keymaster

    Hey 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Adding Venue to Photo View’ is closed to new replies.