Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    If you have the latest version (1.5.6), you can do it with the following code:

    old line
    $infowindow = '<div data-result="' . $this->count . '"><h4>[post_title]</h4><p><a href="[post_permalink]" data-location-id="'.$this->result->id.'">'.__('View Location', 'wpsimplelocator').'</a></p></div>';

    new line
    $infowindow = '<div data-result="' . $this->count . '"><h4>[post_title]</h4>'.$this->result->wpsl_address.'<br/>'.$this->result->wpsl_zip.' '.$this->result->wpsl_city.'<br/><br/><a href="http://www.google.com/maps/place/'.$this->result->latitude.','.$this->result->longitude.'" target="_blank">Link to Google Maps</a></div>';

    If you change the old line to the new line, the result will be:
    Companynaam
    Address
    Zipcode City

    Link to Google Maps

    This line you can find in the file ‘LocationResultPresenter.php’ and in the folowing map: simple locator -> app -> Service ->LocationSearch.

    Greetz,
    Ronald

Viewing 1 replies (of 1 total)