Forums

Geo Mashup
Geo Mashup: Show single user location on profile page (author.php) (1 post)

  1. maurol86
    Member
    Posted 9 months ago #

    Hi, I'm trying to show the user location map in his profile page, (author.php), but I'm doing something wrong, i'm getting an empty map with no zoom, seems i'ts the default map. I also want to get the full adress of current user.

    Here's mi line of code:

    <?php echo GeoMashup::location_info( 'fields=address' );  ?>
    <?php echo GeoMashup::map("object_name=user&object_id=".$user->ID); ?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags