Support

Home Forums Event Espresso Premium How to format the venue address displayed using the shortcode

How to format the venue address displayed using the shortcode

Posted: July 26, 2014 at 10:15 am

Viewing 4 reply threads


azitsm

July 26, 2014 at 10:15 am

Wordpress 3.9.1; EE 3.1.36.5.P

I am using the following shortcode to display our venue on the page. It outputs the address vertically and odd rather than a standard format for displaying an address. How can this be modified? I checked for templates but not sure which addresses this.

[ESPRESSO_VENUE id="1" outside_wrapper="div" outside_wrapper_class="event_venue"]


Josh

  • Support Staff

July 28, 2014 at 7:08 am

Hi there,

Can you post a link to the page where this is happening so we can take a look? Thanks.


azitsm

July 28, 2014 at 7:47 pm

Here is the URL. It is displaying exactly how the form fields are in the venue manager.

http://azitsmprofessionals.com/summit


Dean

July 29, 2014 at 4:31 am

Hi,

That’s the current address format. There isn’t a filter to allow you to change it but you could create a new shortcode, with a different format.

I made a quick example one here: https://gist.github.com/Apina/fff88a2b548bfb53e024

It will show the address as a single line. If you want to amend it further look at the section that starts //Build the address details


azitsm

July 29, 2014 at 9:06 am

Simply awesome! I made the updates to the custom function. Perfect. Thanks!

Viewing 4 reply threads

The support post ‘How to format the venue address displayed using the 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