Hello,
I want to add the organizer image in the organizer details section of the single event.
Tweaking just a bit one of your helpdesk threads I added the following snippet to functions.php and it seems to work. Is it a correct solution or could it cause problems?
Thanks,
<?php
/* The Events Calendar Pro
* Show venue image and organizer image on single event page
* Paste the below in your child theme’s functions.php file
*
* For $size you can use: thumb, medium, large, full
* For $link you can use: true or false; links to the event page.
*/
function add_organizer_image_to_single_organizer_description() {
$size = ‘thumb’;
$link = false;
$organizer_id = tribe_get_organizer_id();
echo tribe_event_featured_image( $organizer_id, $size, $link );
}
add_action (‘tribe_get_organizer_details’, ‘add_organizer_image_to_single_organizer_description’);
?>