Title: [location] shortcode
Last modified: March 26, 2019

---

# [location] shortcode

 *  Resolved [snorklebum](https://wordpress.org/support/users/snorklebum/)
 * (@snorklebum)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/)
 * Hi,
 * I just spotted that one of my pages was no longer loading and the culprit was
   the [location post_id=”123″] shortcode. Should these shortcodes work whilst this
   plugin is enabled? Not a problem if not as I can easy put a static image in but
   thought I would check.
 * Thanks

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

 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/#post-11357227)
 * OOPS!
    You’re right. It should work.
 * The fastest way to solve this:
    In em-osm-maps.php, move line 47 to line 44 (
   just below the global). `$EM_Location = new EM_Location($input);`
 * I will correct this in the next update.
 *  Thread Starter [snorklebum](https://wordpress.org/support/users/snorklebum/)
 * (@snorklebum)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/#post-11357986)
 * Perfect that worked, thanks again for the speedy response 😀
 *  Thread Starter [snorklebum](https://wordpress.org/support/users/snorklebum/)
 * (@snorklebum)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/#post-11358326)
 * Also is there a reason the plugin always needs to be activated again after updating?
   *
   edit* typical I post this and then update two of my sites and it doesn’t happen,
   this can likely be ignored.
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/#post-11358980)
 * No, that should not do that. And other do not seem to have that problem…

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

The topic ‘[location] shortcode’ is closed to new replies.

 * ![](https://ps.w.org/stonehenge-em-osm/assets/icon-256x256.jpg?rev=2143406)
 * [Events Manager - OpenStreetMaps](https://wordpress.org/plugins/stonehenge-em-osm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stonehenge-em-osm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stonehenge-em-osm/)
 * [Active Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stonehenge-em-osm/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/location-shortcode-2/#post-11358980)
 * Status: resolved