GeoDirectory SupportDefault Location – set address on map not working? – GeoDirectory Support https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/feed Mon, 16 Mar 2026 04:00:57 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6427 <![CDATA[Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6427 Fri, 27 Jun 2014 06:55:33 +0000 purpleedge Clean install of GD 1.1.5 on local host, no other GD plugins yet, the Default Location “Set Address on Map” button doesn’t seem to do anything, do we have to enter the lat and lon manually?

OK, it works on a clean install of WP, BUT if I use the Enfold theme it doesn’t work!

I’ll add the Enfold code to my functions.php file and see if that helps?

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6428 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6428 Fri, 27 Jun 2014 07:11:17 +0000 Vikas do u see any JS error in error console?

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6429 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6429 Fri, 27 Jun 2014 07:29:09 +0000 purpleedge Hi Vikas,

See attached, and above – might be a conflict with Enfold theme.

I get this error when I open the set default location page, and I don’t get the location marker pin!

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6431 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6431 Fri, 27 Jun 2014 07:30:50 +0000 purpleedge I’ll disable Google Maps in Enfold – if I can figure out how 😉

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6432 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6432 Fri, 27 Jun 2014 07:38:07 +0000 purpleedge I’ve added the Enfold compatibility code to my funtions.php file, didn’t help.

Any idea how to disable Google Maps API in the Enfold theme??

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6435 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6435 Fri, 27 Jun 2014 08:58:40 +0000 Stiofan O'Connor Google API’s on localhost can be funny, i would not assume they will work.

Stiofan

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6440 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6440 Fri, 27 Jun 2014 10:26:25 +0000 purpleedge If I comment out the two calls to …

wp_register_script( ‘avia-google-maps-api’, $prefix.’://maps.google.com/maps/api/js?sensor=false’, array(‘jquery’), ‘3’, true);

…in the Enfold theme, the marker re-appears and the button works.

But I’d rather not do that and I tried to call…

wp_deregister_script( ‘avia-google-maps-api’ );

…in my functions.php but it didn’t work to stop the theme from loading the Google APIs. Any suggestions?

TIA

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6442 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6442 Fri, 27 Jun 2014 10:37:30 +0000 Stiofan O'Connor Please add this to your enfold comparability code


add_filter( 'avf_load_google_map_api', 'gd_enfold_remove_maps_api', 10, 1 );
function gd_enfold_remove_maps_api($call){
return false;	
}
]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6478 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6478 Fri, 27 Jun 2014 13:28:51 +0000 purpleedge Thanks Stiofan, I added it to the end of your Enfold functions.php code and it fixed this issue!

]]>
https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6479 <![CDATA[Reply To: Default Location – set address on map not working?]]> https://wpgeodirectory.com/support/topic/default-location-set-address-on-map-not-working/#post-6479 Fri, 27 Jun 2014 13:32:01 +0000 Stiofan O'Connor 🙂

]]>