Hi there,
i managed to remove the link from the title/h4 with this code (even so i had quotation issues, but i commented it):
// REMOVE GEODIR LINK FROM TITLE beware, wrong quotations --> https://wpgeodirectory.com/support/topic/map-pop-up-2/
function my_remove_bubble_title($html, $postinfo_obj, $post_preview){
$srcharr = array("'",'/', '-', '"', '"\"');
$replarr = array('′', '⁄', '–', '“', '');
if (isset($postinfo_obj->post_id)) {
$ID = $postinfo_obj->post_id;
$plink = get_permalink($ID);
$title = str_replace($srcharr, $replarr, htmlentities($postinfo_obj->post_title, ENT_COMPAT, 'UTF-8'));
$link = '<a href="'.$plink.'">'.$title.'</a>';
$html = str_replace($link,$title,$html);
}
return $html;
}
add_filter('geodir_custom_infowindow_html','my_remove_bubble_title',10,3);
Is there a similar code/possibilty to remove the link from the background image / geodir_bubble_image?
I found this hint as well (https://wpgeodirectory.com/support/reply/200954/), but i am not sure how to (alternatively) disable all links from the “bubble”…
Thank You in advanced for your support!
Benjamin