Hi Simone, I tried this in the listings template and it worked great, but it doesn’t work for the info inside the bubble (post_functions.php)
<?php
global $wp_query;
$postid = $wp_query->post->ID; //retrieve the id
$emaillisting= geodir_get_post_meta($postid,'geodir_email',true); //email
?>
<span class="geodir_email"><i class="fa fa-envelope"></i><?php echo $emaillisting; ?></span>
As I say, works fine in /geodirectory/geodirectory-templates/listing-listview.php
Any idea why it would work in one and not the other?
Thanks,
Garry.