Hi Stephen,
Thank you very much for all your supprt:)
I have another problem, I used the piece of code you suggested to use to another user.
My problem is that when I add more than one venue to Venues all of them are displayed on single-event page. It does not matter that I selected just one venue.
I have used this code:
<?php
$venues = eo_get_venues();
if( $venues ):
foreach( $venues as $venue ):
//IMPORTANT: Make sure venue ID is an integer (If its a string, it will be interpreted as a slug).
$venue_id = (int) $venue->term_id;
printf('<div id="venue-%d">', $venue_id );
/* Display venue name and address */
echo '<header class="entry-header"> <h2>Get directions</h2>';
printf(' %s ', eo_get_venue_name($venue_id) );
$address = array_filter(eo_get_venue_address($venue_id));
echo implode(', ',$address);
echo '</header>';
/* Display venue description & map */
echo '<div class="entry-content">';
echo eo_get_venue_description($venue_id);
echo eo_get_venue_map($venue_id);
echo'</div>';
echo'</div>';
endforeach;
endif;
?>
Can you please help me?
regards,
Anita