Support

Home Forums Event Espresso Premium removings states / uk counties and countries

removings states / uk counties and countries

Posted: September 18, 2015 at 6:51 am


Anthony Irtelli

September 18, 2015 at 6:51 am

I have just started using event espresso 4 on a UK based site.

The events are really only open to people in the UK and I just wondered if its possible to remove states / counties and the country from the venue address.

Many thanks


Lorenzo Orlando Caum

  • Support Staff

September 18, 2015 at 8:00 am

Hi Mark,

There is some sample code in this link:

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

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.

There are also some additional examples.

Thanks!


Lorenzo


Anthony Irtelli

September 18, 2015 at 11:50 am

Thanks very much.


Anthony Irtelli

September 18, 2015 at 11:51 am

Works perfectly

The support post ‘removings states / uk counties and countries’ 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