Support

Home Forums Event Espresso Premium UK Counties

UK Counties

Posted: July 24, 2014 at 4:26 am

Viewing 2 reply threads


Christopher Edwards

July 24, 2014 at 4:26 am

I have added a county to my list, but I want the venue address to show the name and not the code, as we do not use shortened names of our counties!

How can I acheive this?

  • This topic was modified 10 years, 3 months ago by Tony. Reason: Moved to premium


Dean

July 24, 2014 at 12:29 pm

Hi Christopher,

Right now it isn’t possible to change it.

I will raise a developer ticket to look into this to see if we can add in a filter to allow the long form to be used instead.


Josh

  • Support Staff

April 21, 2015 at 1:53 pm

Hi Christopher,

A little update on this: There are some new filters included in the latest release of Event Espresso 4.6 that allow for long form county/region names.

Here’s an example of how to use the new filters. You add the following to a custom function either in your theme’s functions.php file or into a custom snippets plugin:

// display full names for states and countries
add_filter( 'FHEE__EEI_Address__state__use_abbreviation', '__return_false' );
add_filter( 'FHEE__EEI_Address__country__use_abbreviation', '__return_false' );

The changelog for version 4.6.21.p can be found here:

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

Viewing 2 reply threads

The support post ‘UK Counties’ 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