Support

Home Forums Event Espresso Premium Text getting added to venue physical address

Text getting added to venue physical address

Posted: April 19, 2015 at 4:26 pm

Viewing 4 reply threads


Nick

April 19, 2015 at 4:26 pm

I am seeing the text TL added to some of my venue addresses. Such as in this address:

166-220 Holloway Road, LondonTL, N7 8DB

Any idea why this is happening?

Nick


Tony

  • Support Staff

April 20, 2015 at 4:05 am

Hi Nick,

What ‘State’ and Country do have set for that Venue?


Nick

April 20, 2015 at 3:49 pm

Country is UK. State is on the default ‘Please select’.


Tony

  • Support Staff

April 21, 2015 at 2:26 am

If you go to Event Espresso -> General Settings -> Countries.

Select United Kingdom within the top dropdown.

Once the setting have loaded, is ‘TL’ set within the ‘Country ISO Code’ for the UK?

If so set it to ‘GB’ – http://take.ms/9SvqA

Then save the settings and refresh the venue page.


Lorenzo Orlando Caum

  • Support Staff

September 12, 2015 at 11:31 am

Hi Nick,

We wanted to let you know about an enhancement in the current version of Event Espresso 4 that offers more flexibility for venue addresses.

First, please backup your WordPress site and upgrade to the latest release of Event Espresso 4:

https://eventespresso.com/wiki/ee4-changelog/

Next, there is some sample code in this link:

https://gist.github.com/lorenzocaum/5e2658a1f7e7a9a6b5c0

Here is an explanation of the sample code:

In the older versions of Event Espresso, you could change the formatting for the venue address. However, this would apply to all venue addresses. The new enhancement is more flexible as it allows you to change the formatting for certain countries.

In the example code, we have an entry for United Kingdom which has a country code of GB. Then we have the actual formatting which doesn’t include the province or the country name.

Just below that, we have an entry for Canada which has a country code of CA. In Canada, the zip/postal code appears as the end of the address so the formatting will show it in that order.

Below that is an entry for Germany which has a country code of DE with a specific formatting for the address.

If you have modified the venue address through an existing function, then you may consider switching to the new one mentioned in the link above.

Thanks!


Lorenzo

Viewing 4 reply threads

The support post ‘Text getting added to venue physical address’ 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