Show venue featured image and organizer featured image on single event page
<?php
/* The Events Calendar Pro
* Show venue featured image and organizer featured image on single event page
*
* For $size you can use: thumb, medium, large, full
* For $link you can use: true or false; links to the event page, which would link to the page we are already on
*/
function add_venue_image_to_single_event_page() {
$size = 'thumb';
$link = false;
$venue_id = tribe_get_venue_id();
echo tribe_event_featured_image( $venue_id, $size, $link );
}
add_action ('tribe_events_single_meta_venue_section_end', 'add_venue_image_to_single_event_page');
function add_organizer_image_to_single_event_page() {
$size = 'thumb';
$link = false;
$organizer_id = tribe_get_organizer_id();
echo tribe_event_featured_image( $organizer_id, $size, $link );
}
add_action ('tribe_events_single_meta_organizer_section_end', 'add_organizer_image_to_single_event_page');