Home › Forums › Plugin Support › WP User Frontend (Free Version) › Google map in widget? This topic is: resolved This topic contains 3 replies, has 2 voices, and was last updated by Tareq Hasan 5 years, 10 months ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 28, 2013 at 11:05 am #5375 onafetsParticipant Post count: 30 This might no be an issue related to the plugin but, do you know how to show the pronamic map in widgets? I have tryed to add <?php echo wpuf_shortcode_map( 'location', $post->ID ); ?> (php allowed in widget already) bu doesn't work in this way June 28, 2013 at 1:20 pm #5382 Tareq HasanKeymaster Post count: 2831 May be you should try this: [php] <?php global $post; wpuf_shortcode_map( ‘location', $post->ID ); ?> [/php] June 28, 2013 at 2:43 pm #5386 onafetsParticipant Post count: 30 Thank you, Tareq. I have tested but it doesn't fetch the map June 28, 2013 at 3:07 pm #5388 Tareq HasanKeymaster Post count: 2831 It should be working, but if any plugin changes the global $post variable, it'll not be possible to get the map working on the widget. You'll need the post ID correctly to fetch the map. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The topic ‘Google map in widget?’ is closed to new replies.