Title: add map without shortcode
Last modified: August 20, 2016

---

# add map without shortcode

 *  Resolved [markuszeeh](https://wordpress.org/support/users/markuszeeh/)
 * (@markuszeeh)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/add-map-without-shortcode/)
 * Hi!
 * How can i add a map without a shortcode directly inside my template?
 * Thanks for help!
    M
 * [http://wordpress.org/extend/plugins/imagemapper/](http://wordpress.org/extend/plugins/imagemapper/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Spike](https://wordpress.org/support/users/spikefinned/)
 * (@spikefinned)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/add-map-without-shortcode/#post-3433129)
 * Hi,
 * You can use **get_imgmap_frontend_image($id, $element_id)** function, where $
   id is the post id of the image map and $element_id is a unique id for the HTML
   element. And the value must be echoed.
 * I haven’t really thought about using maps in templates, but that should work 
   flawlessly. It’s nice to see people inventing new ways to use the plugin.
 * Spike
 *  [estherrosie](https://wordpress.org/support/users/estherrosie/)
 * (@estherrosie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/add-map-without-shortcode/#post-3433197)
 * Hi Markus
 * Did you manage this – I am trying to do the same thing but can’t get the piece
   of code quite right
 *  Thread Starter [markuszeeh](https://wordpress.org/support/users/markuszeeh/)
 * (@markuszeeh)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/add-map-without-shortcode/#post-3433200)
 * Hi!
 * Yes, it works. I use this code
 *     ```
       <?php echo get_imgmap_frontend_image('86', '79467984'); ?>
       ```
   
 * Just use your id´s.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘add map without shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/imagemapper_e1e9f0.svg)
 * [ImageMapper](https://wordpress.org/plugins/imagemapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagemapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagemapper/)
 * [Active Topics](https://wordpress.org/support/plugin/imagemapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagemapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagemapper/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [markuszeeh](https://wordpress.org/support/users/markuszeeh/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/add-map-without-shortcode/#post-3433200)
 * Status: resolved