Title: Show a map not with shortcode
Last modified: August 22, 2016

---

# Show a map not with shortcode

 *  Resolved [gringom](https://wordpress.org/support/users/gringom/)
 * (@gringom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/show-a-map-not-with-shortcode/)
 * I need to add a map right after the <body> tag, so then I can manipulate it to
   open and close with a click, above the div content. I think I can’t call the 
   map with a shortcode so how can I call google maps builder hardcoding it in my
   template?
 * Or maybe another way?
 * Thank you.
 * [https://wordpress.org/plugins/google-maps-builder/](https://wordpress.org/plugins/google-maps-builder/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/show-a-map-not-with-shortcode/#post-5709840)
 * Hi [@gringom](https://wordpress.org/support/users/gringom/),
 * To output a shortcode in your template, use WordPress’s function called `do_shortcode`
   You can read about that (here)[http://codex.wordpress.org/Function_Reference/
   do_shortcode]
 * So in our case you would add this:
    `do_shortcode('[google_maps id="1"]')`
 * Just make sure to use the actual shortcode attributes you want instead of the
   id=1 that I put as an example.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Show a map not with shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-builder_f9f9f9.svg)
 * [Maps Builder - Google Maps Plugin](https://wordpress.org/plugins/google-maps-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/show-a-map-not-with-shortcode/#post-5709840)
 * Status: resolved