Support

Home Forums Event Espresso Premium Problem Creating Event Venue Shortcode

Problem Creating Event Venue Shortcode

Posted: December 13, 2018 at 4:59 pm


scolwell

December 13, 2018 at 4:59 pm

Hello,

I am trying to create a short-code for the venue using the site wide custom app.

I have this from another post but I can’t seem to get it to work

<?php

echo do_shortcode(‘
[ESPRESSO_VENUE event_id=”‘.$event_ID.'” show_description=false show_additional_details=false show_map_image=false]’);

?>

Would you be able to help me with this?


Josh

  • Support Staff

December 13, 2018 at 5:28 pm

Hi,

I’m afraid there are no shortcodes for venues in Event Espresso 4. The ESPRESSO_VENUE shortcode was only for Event Espresso 3.

You could use the template tags instead since you’re working with PHP. The content-espresso_events-venues.php file within the /public/ folder of Event Espresso 4 core has some examples of how to show venue information using the venue tags.

The support post ‘Problem Creating Event Venue Shortcode’ 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