WordPress.org

Ready to get started?Download WordPress

Forums

BP User Profile Map
Show all Members in Shortcode (2 posts)

  1. andycheeseman
    Member
    Posted 2 years ago #

    Hi,

    Is it possible to display all members locations in BuddyPress using a shortcode? It works for me when I use the tick box in the settings, but I'd rather place this map on a unique page.

    Thanks,
    Andy.

    http://wordpress.org/extend/plugins/bp-user-profile-map/

  2. Hugo
    Member
    Plugin Author

    Posted 2 years ago #

    It's not possible at the moment I'm afraid, the plugin is designed to work through the BP do_action hooks for BP pages or directly in a profile field entry using the provided function. The standalone shortcode and function provided intended simply for pages or posts.

    However you could simply take the primary function for the BP map displays 'upm_gmap_display()' and add that in the template at the position you require, if you then ensure you don't select a region to display, say, the members list maps then you should get a map rendering as long as you're in a loop. The other map options such as zoom should still be configurable frm the settings page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic