Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Show Current Post Marker only on the Google Maps
add_filter('wpgmp_show_place','wpgmp_show_place',1,3 );
function wpgmp_show_place($show,$place,$map) {
global $post;
if($place['id'] != $post->ID) {
$show = FALSE;
}
return $show;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment