This plugin creates a shortcode [pmpro_membership_maps] you can place on any page of your WordPress site. Membership Maps will also display automatically on the Member Directory and Profiles Add On frontend pages.
PMPro Plus members can install the add on via the Memberships > Add Ons admin page.
Or, download the plugin file and upload the pmpro-membership-maps directory to the /wp-content/plugins/ directory of your site.
Activate the plugin through the Plugins menu in the WordPress admin.
This plugin requires Paid Memberships Pro to be installed and activated.
By default, the map will geocode the member’s “Billing Address”. Navigate to Memberships > Settings > Payment Gateway & SSL in the WordPress admin. Confirm the “Show Billing Address Fields” setting is set to “Yes”. If you need to use a different member address for the map, please refer to this guide.
Height of the map. The height is restricted to a pixel value.
Width of the map. The width of the map makes use of a percentage value to maintain responsiveness.
Zoom level of your map. The lower the value, the
Specify an ID for your map to identify it in CSS classes and code recipes. This attribute is required if you want to show more than one map on a single page.
The maximum width of an info window in pixels.
Specify level ID’s here to only show markers on the map of specific membership levels. More than one ID can be comma separated.
This determines if the contents of the info window can be turned into links to the member’s profile page.
The size of the avatar displayed in the info window.
Determines if a members avatar should be displayed or not.
Determines if a member’s email address should be displayed or not.
Determines if a member’s level should be displayed or not.
Determines if a member’s start date should be displayed or not.
Specify the position of the member’s avatar. Choose between none, left, center, right.
Offers support for custom fields generated by the Register Helper Add On. Field names can be comma separated in this attribute and will show in the info window.
* These fields integrate directly with the Member Directory and Profiles Add On. The Membership Maps Add On will automatically use the values of these fields when setting up your Membership Directory.
Member Directory and Profile Pages Add On Integration
Your map will automatically display on the Member Directory and Profile pages, inheriting the shortcode attributes of that Add On for rendering the map. You can add additional shortcode attributes from the Membership Maps directly to the shortcodes used by the directory or profile page. See the example below, which adds the infowindow_width attribute to the Directory shortcode:
Updated 2020-08-13: The Google Maps Platform includes a free $200 monthly credit for API usage. This would allow a daily limit of 2,000 Geocoding API requests and 10,000 Maps API requests. View current pricing »