Created
June 5, 2016 07:38
-
-
Save Fitoussi/898520b04f86a7ebacb1ee12a97e3137 to your computer and use it in GitHub Desktop.
GMW Nearby Locations Google Map link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- directions --> | |
<?php if ( $directions && ! empty( $post->formatted_address ) ) : ?> | |
<div class="gmw-nbp-directions-wrapper"> | |
<i class="fa fa-location-arrow"></i> | |
<a class="gmw-nbl-get-directions gmw-posts-get-directions" href="http://maps.google.com/?q=<?php echo esc_attr( $post->formatted_address ); ?>" target="_blank">Show in Google map</a> | |
</div> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment