Skip Navigation

[Resolved] Maps not displaying in backend with Divi

This thread is resolved. Here is a description of the problem and solution.

Problem: I have an address custom field that is not working correctly. The map does not appear next to the field in the backend of the site on the post editor screen. I am using Divi.

Solution: Remove your Google Maps API key from Divi > Theme Options > General and add the key in the Toolset > Settings > Maps configurations.

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by guidoD 6 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#918309
posttype-maps-error.jpg

I am trying to: use divi on new posttype including custom field address (map location)

Link to a page where the issue can be seen: local

I expected to see: address text field with map on right side

Instead, I got: only the address field without the map

I have activated divi on the posttype using:

function dpb_all_post_types( $post_types ) {
$post_types = get_post_types();
if ( $post_types ) { // If there are any custom public post types.
foreach ( $post_types as $post_type ) {
$post_types[] ='$post_type';
return $post_types;
}
}
}
add_filter( 'et_builder_post_types', 'dpb_all_post_types');

After that the divi bilder shows up - but unfortunately the custom field address is not working as normal. The maps dissapeard completely.

#918381

Please go to Divi > Theme Options > General and let me know if you have added your Google Maps API key here. If so, remove it and test again. If you're still unable to see the maps in wp-admin, please open the browser console and refresh the page. Copy + paste any error messages in your next reply.

#918628

Thanks, to Disable "Enqueue Google Maps Script" within the Divi options did the trick.