Hi,
I’m using the built-in Google Maps element of Enfold to show about 40 locations all over Europe. Unfortunately, in the CMS it’s very difficult to see which is which based on the Address(/street) field. Easier would be to show the country name. Is there a way I can change what field it shows in the list, please?
Even better would be an extra field for the location name, then show that name in the list. For example:
– Main office
– Car shop
– Police station
– Train station
– Mall
– Post office
– and so on …
It makes it a lot easier (especially for 40 locations) to check if all of them are added and which one you need to open to make changes.
Thanks in advance!
Hey DavyE!
Open up /enfold/config-templatebuilder/avia-shortcodes/google_maps.php and change line 233 from this.
$params['innerHtml'] .= "<div class='avia_title_container' {$template}>".__("Address", 'avia_framework' ).": ".$params['args']['address']."</div>";
To this.
$params['innerHtml'] .= "<div class='avia_title_container' {$template}>".__("Address", 'avia_framework' ).": ".$params['args']['address']. " " .$params['args']['country']."</div>";
Regards,
Elliott
And once again, perfect for me!
Thank you, Elliott!