How to add Google Maps API key to WR-PageBuilder

If your WordPress site users WR PageBuilder plugin and you found your google maps not working recently, you may need to add an API key for Google maps. Google used to allow maps to be embedded without keys on any … Continued

If your WordPress site users WR PageBuilder plugin and you found your google maps not working recently, you may need to add an API key for Google maps.

Google used to allow maps to be embedded without keys on any site, but that time is gone, so, instead of seeing map, you may have an error saying something about failure to load map.

Solution is really simple – generate API key in the google maps console and add this little PHP code to the theme’s functions.php or as a stand alone file in wp-content/mu-plugins/ directory

Leave a Reply

Learning WordPress development?

Subscribe and never miss a post about WordPress themes and plugins coding techniques, WordPress website development workflow and best practices.