OK actually I do need to change the content for the single page balloons – not just to remove the content – is there a way to distingish between a mash up and single map with the filter?
OK I have it working in part – the mashup I now have custom meta displaying in using the following function:
function prefix_pgmm_item($itemContent) {
$itemContent = '';
$itemContent .= '<a href="'. get_permalink() .'">';
$itemContent .= get_the_title();
$itemContent .= '</a>';
$itemContent .= '<br />';
$itemContent .= get_post_meta(get_the_id(), 'ecpt_location', true);
// $itemContent .= get_the_tag_list('Tags: ',', ','');
$itemContent .= get_the_term_list(get_the_ID(), 'post_tag', 'Features: ', ', ', '', '');
return $itemContent;
}
add_filter('pronamic_google_maps_mashup_item', 'prefix_pgmm_item');
However, on the single pages I’d like to not have this additional information in the balloon, infact, there can be no content at all if possible – how can this be achieved please?