Support

Home Forums Event Espresso Premium display event venue title

display event venue title

Posted: June 20, 2019 at 3:03 pm

Viewing 1 reply thread


dirk.tussing

June 20, 2019 at 3:03 pm

<?php
$event = EEH_Event_View::get_event(get_the_ID());
echo $event->venue_title;
?>

Hi, can anyone help? why this isn’t working?


Josh

  • Support Staff

June 20, 2019 at 3:16 pm

Hi,

I don’t believe venue_title is a valid property of an EE_event object.

You could use template tags instead:

echo esc_html(get_the_title(espresso_venue_id()));

Viewing 1 reply thread

The support post ‘display event venue title’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso