[wordpress插件] BP xProfile LocationBP xProfile位置

wordpress 插件 文章 2020-03-11 00:00 676 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

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.

这是一个BuddyPress插件,用于创建xProfile Location字段类型,该类型将使用Google Places API填充并验证地址字段。

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

您可以通过 wp-admin>用户>个人资料字段>添加新字段 创建多个位置字段

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

每个成员的xprofile字段将填充为可搜索的字符串。

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

会员的BP地图“ rel =” nofollow“>会员的BP地图

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

“ rel =” nofollow“>组的BP映射

For more information about this plugin, please visit BP

有关此插件的更多信息,请访问 BP

xProfile Location

xProfile位置

安装步骤

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

      如果您尚未为其他PhiloPress插件之一输入Google Maps API密钥,请参阅常见问题解答

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

      在wp-admin中的“插件”>“添加”屏幕上上传zip

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

      通过WordPress中的“插件”菜单激活插件

    4. Go to wp-admin > Settings > BuddyPress > Options.

      转到wp-admin>设置> BuddyPress>选项。

      Under ‘Profile Settings’, find ‘Google Maps API key’, enter your key and Save

      在“个人资料设置”下,找到“ Google Maps API密钥”,输入密钥并保存

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

      转到wp-admin>用户>配置文件字段>添加新字段并创建类型=位置的配置文件字段。

下载地址
https://downloads.wordpress.org/plugin/bp-xprofile-location.2.0.zip
-EOF-

AI助手支持GPT4.0