I did a custom post query for AIO Events Calendar, as described here: All in One Calendar Plugin Custom Post Type Query
But it doesnt work.
<?php echo esc_html( $event->cost ) ?>
returns the cost, but
<?php echo $contact ?>
and any other variable without $event-> returns nothing.