Forum: WP Users Geolocation

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the WP Users Geolocation premium extension please open a new premium support ticket.

[Resolved]Change Displayname with xprofile Field in Template for info window

Forums WP Users Geolocation Change Displayname with xprofile Field in Template for info window

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31623
    aburget
    Member

    Hi,

    i want to change the <?php echo bp_core_get_user_displayname( $member->ID ); ?>
    with a xprofile field like <?php bp_member_profile_data( ‘field=Company’ );?>

    but i doesn’t work.

    #31624

    Hello Aburget,

    Because the function is not within the members loop you need to specify the member ID. try:

    1) Are you applying the above code to the popup window of Wp Users Global Maps?
    2) Which versions of Wp Users Geolocation and Global Maps are you using?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.