开发者 | shanebp |
---|---|
更新时间 | 2024年8月16日 05:00 |
捐献地址: | 去捐款 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 6.5 |
版权: | GPLv2 or later |
Yes. If you need help, read this tutorial: Google Maps API Key
If you use BuddyPress: Go to wp-admin > Settings > BuddyPress > Options. Under 'Profile Settings', find 'Google Maps API key', enter your key and Save. Or if you use BuddyBoss Platform: Go to wp-admin > BuddyBoss > Integrations > PhiloPress. Find 'Google Maps API key', enter your key and Save.
If you selected the "Save Geocode" option when creating the profile field and a geocode is not being saved when a member edits that field, then most likely they are not clicking on one of the address options that Google returns as they type. They have to click on one of the addresses or Goggle will not return the geocode. There is no practical method of forcing them to make that selection. We suggest that the "Description" text of the profile field contain an instruction like: "Please make a selection from the dropdown or you will not appear on the Members Map".