[Plugin: Pronamic Google Maps] Adding custom Meta data to balloon
-
Hi I’m using a custom post type plugin and have extra meta boxes I’d like to display in the balloon.
I’ve got the filter working as follows but the extra content isn’t showing:
function custom_mashup_item($content) { return '<div style="font-size:24px"> Location: ' . get_post_meta($post->ID, 'ecpt_location', true) . $content . '</div>'; } add_filter('pronamic_google_maps_mashup_item', 'custom_mashup_item');The usual code for including in a template is:
get_post_meta($post->ID, 'ecpt_location', true)Can you advise please?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Plugin: Pronamic Google Maps] Adding custom Meta data to balloon’ is closed to new replies.