And a map for single post?
Oh, that would be helpful.
I tried code something for single.php site, but it doesn’t work ( post id is 0 div with map id gmap_0_0) and map is showing nothing besides blue.
<?php
if (is_single()) {
$post->ID = get_query_var('p');
if (class_exists('Geotag')) {
Geotag::the_geotag('print_map', array('post_id' => ''.$post->ID));
}
}
?>
Where am i wrong?
Hi there.
First of all, thanks for the great plugin.
But i’d like to ask about one more functionality.
Is there a possibility to edit the way, how the pop-out boxes on the map with multiple markers (e.g. on the category page) are displayed?
I mean that pop-out box that is shown when you click on the marker — it displays the title and the date of post. Can I change that to, e.g., the title and the post thumbnail?
I assume that i should edit the geotag.php file, but i don’t know exactly where and if it’s good thing to do without your permission.