[Plugin: Google Maps for WordPress] do_shortcode and meta box
-
I have a meta box that records the shortcode details.
Not sure if I’m missing shortcode attributes for the php line, but I have this setup
<?php $googlemaparea = get_post_meta($post->ID, 'googlemaparea', true); echo do_shortcode($googlemaparea); ?>
When I place the shortcode in the editor it runs both fine, when I remove the editor version and let the echo run it runs the height/width for the div but nothing else.
http://wordpress.org/extend/plugins/google-maps-for-wordpress/
- The topic ‘[Plugin: Google Maps for WordPress] do_shortcode and meta box’ is closed to new replies.