Support

Home Forums Event Espresso Premium Google map link

Google map link

Posted: August 6, 2014 at 5:21 am

Viewing 3 reply threads


blue level

August 6, 2014 at 5:21 am

hi
the shortcode [google_map_link] when clicked it pulls through the state used for the interactive map e.g “YO” so the link does not work unless you remove YO from the search terms

how do i get this to not pull through the state


blue level

August 6, 2014 at 5:37 am

Example link
http://maps.google.com/maps?q=The+Goodfellowship%2CHull%2CYO%2CHU5+4AT%2CEngland

in the search bar on google map i get

The Goodfellowship,Hull,YO,HU5 4AT,England

it wont work unless i remove YO


Dean

August 6, 2014 at 6:09 am

Hi,

You could try using Yorks as the shortform for the county, as Google Maps recognises that.

We have a ticket outstanding to look into allowing long form county/region names.


Josh

  • Support Staff

April 21, 2015 at 1:51 pm

Hi Blue Level,

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 3 reply threads

The support post ‘Google map link’ 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