Skip to content

Commit

Permalink
Added action geodir_infowindow_meta_after to infowindow - ADDED
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed Mar 23, 2015
1 parent 48bc7b2 commit 9fd5672
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions change_log.txt
@@ -1,5 +1,6 @@
v1.4.2
Google api establishment term can override street address - FIXED
Added action geodir_infowindow_meta_after to infowindow - ADDED

v1.4.1
Distances to listings should show miles/km until 0.01 rather than 1 before changing to ft/m - FIXED
Expand Down
14 changes: 13 additions & 1 deletion geodirectory-functions/post_functions.php
Expand Up @@ -1579,7 +1579,19 @@ function geodir_get_infowindow_html($postinfo_obj, $post_preview = '')
<?php if ($contact) { ?><span class="geodir_contact"><i
class="fa fa-phone"></i> <?php echo $contact; ?></span><?php } ?>
<?php if ($timing) { ?><span class="geodir_timing"><i
class="fa fa-clock-o"></i> <?php echo $timing; ?></span><?php } ?>
class="fa fa-clock-o"></i> <?php echo $timing; ?></span><?php }

/**
* Fires after the meta info in the map info window.
*
* This can be used to add more info to the map info window after the normal meta info.
*
* @since 1.4.2
* @param object $postinfo_obj The posts info as an object.
* @param bool|string $post_preview True if currently in post preview page. Empty string if not. *
*/
do_action('geodir_infowindow_meta_after',$postinfo_obj,$post_preview );
?>
</div>
<?php
if (isset($postinfo_obj->recurring_dates)) {
Expand Down

0 comments on commit 9fd5672

Please sign in to comment.