BP xProfile Location


This is a BuddyPress plugin that creates an xProfile Location field type that will use the Google Places API to populate and validate the address fields.

The result will be uniform and searchable addresses with a single input field.

You can create multiple Location fields via wp-admin > Users > Profile Fields > Add New Field

The xprofile field for each member will be populated as a searchable string.

A latitude / longitude ‘geocode’ will be saved as a separate field, if that option was selected when the field was created.

You can then use the geocode in your preferred Member Map solution.

Or you may be interested in this BuddyPress Member Map solution: BP Maps for Members

For BuddyPress Group Maps, please see: BP Maps for Groups

For more information about this plugin, please visit BP xProfile Location

Captures d’écran

  • The Edit screen on a member profile with Address Auto-Complete
  • Creating a Profile Field of Type > Location
  • GeoCode option when creating a Profile Field


  1. If you have not entered a Google Maps API Key for one of your other PhiloPress plugins – see the FAQ

  2. Upload the zip on the Plugins > Add screen in wp-admin

  3. Activate the plugin through the ‘Plugins’ menu in WordPress

  4. Go to wp-admin > Settings > BuddyPress > Options. Under ‘Profile Settings’, find ‘Google Maps API key’, enter your key and Save

  5. Go to wp-admin > Users > Profile Fields > Add New Field and Create a profile field of Type = Location.


Do I need a Google Maps API Key?

Yes. If you need help, read this tutorial: Google Maps API Key

I have a Google Maps API Key. Where do I put it?

Go to wp-admin > Settings > BuddyPress > Options.
Under ‘Profile Settings’, find ‘Google Maps API key’, enter your key and Save

Other questions?


11 juin 2019
Hello Thank you for your plugin. It will be great, if you can add support of autocomlete of your plugin to BP Profile Search https://wordpress.org/support/topic/is-it-compatible-with-location-autocomplete-for-buddypress-by-buddyboss/#post-11623697
23 janvier 2017
Great plugin! Works quite well. However on pages that aren't using a google map, they are slowed down. The script is qued on ALL pages, but if I don't have a mymap div on that page, it throws a JS error - and it seems to be really bad on mobile. message : "myMap is not a function" name : "InvalidValueError" stack : "Error↵ at new Eb (https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:41:365)↵ at Object._.Fb (https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:41:475)↵ at Og (https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:96:420)↵ at https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:131:58↵ at Object.google.maps.Load (https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:21:5)↵ at https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:130:20↵ at https://maps.googleapis.com/maps/api/js?key=AIzaSyCEbNrty2LK5O2DbsjKx1cJd4OsPqIVXjE&libraries=places&callback=myMap:131:73" __proto__ : Error
Lire les 5 avis

Contributeurs & développeurs

« BP xProfile Location » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « BP xProfile Location » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.



  • Tested with 5.1.1
  • Add support for distance searches via the BP Profile Search plugin IF you have the premium BP Maps for Members plugin from PhiloPress


  • Tested with 5.0.2
  • Improve multisite support


  • Add settings field for the ‘Google Maps API key to BuddyPress settings


  • Add ‘Description’ field output in class-pp-field-type-location.php


  • Prevent saving of field data and geocode if the value is an empty serialized array, a:0:{}


  • Changed the method for supporting the BP Profile Search plugin.


  • Added check for enabled BuddyPress Extended Profiles component
  • Tested with WP 4.7 and BP 2.7.2


  • Added requirement for Google Maps API Key.


  • Fix autolink issue


  • Initial release.