Title: [Plugin: Basic Google Maps Placemarks] do_shortcode (&#039;[bgmp-map]&#039;) on single.php problem
Last modified: August 20, 2016

---

# [Plugin: Basic Google Maps Placemarks] do_shortcode ('[bgmp-map]') on single.php problem

 *  Resolved [PH.Rhev](https://wordpress.org/support/users/phrhev/)
 * (@phrhev)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-do_shortcode-bgmp-map-on-singlephp-problem/)
 * How can I enable the inline PHP code for the map in Single.php?… i used the do_shortcode(‘[
   bgmp-map]’); but it doesn’t work, i put the function code for it on my function.
   php, but i dont know how to call the slug for single.php. Cause I want to put
   a map on every post that the users will be made in the front end.
 * Thanks More Power to you! 😀
 * [http://wordpress.org/extend/plugins/basic-google-maps-placemarks/](http://wordpress.org/extend/plugins/basic-google-maps-placemarks/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [PH.Rhev](https://wordpress.org/support/users/phrhev/)
 * (@phrhev)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-do_shortcode-bgmp-map-on-singlephp-problem/#post-2659058)
 * i got it working i used $post->post_name on the array 😀

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Basic Google Maps Placemarks] do_shortcode ('[bgmp-map]') on
single.php problem’ is closed to new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [PH.Rhev](https://wordpress.org/support/users/phrhev/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-do_shortcode-bgmp-map-on-singlephp-problem/#post-2659058)
 * Status: resolved