Title: Map Shortcode not using custom info_window template
Last modified: August 30, 2016

---

# Map Shortcode not using custom info_window template

 *  Resolved [davidlink](https://wordpress.org/support/users/davidlink/)
 * (@davidlink)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/map-shortcode-not-using-custom-info_window-template/)
 * Hey Tijmen,
 * As stated in the title, when I use the `[wpsl_map]` shortcode, the resulting 
   map no longer respects my custom_info_window_template. Is there a way around 
   this? Or perhaps I’m missing something simple?
 * Thanks in advance!
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/map-shortcode-not-using-custom-info_window-template/#post-6632952)
 * Maybe the name of the filter is a bit misleading, but [this](http://wpstorelocator.co/document/wpsl_cpt_info_window_template/)
   is the filter you need to use to modify the info window on pages that use the[
   wpsl_map] shortcode.
 * You probably used the [wpsl_info_window_template](http://wpstorelocator.co/document/wpsl_info_window_template/)
   filter? That one is only used on the store locator search page, and not on single
   map pages. The reason I have two different ones, is that not everyone might always
   want to show the same thing in info windows on both pages.
 * The individual store pages where the [wpsl_map] shortcode is used are custom 
   post types, and that’s why I added _cpt_ in the name, but you can of course also
   use the [wpsl_map] on other pages, which I should have thought about before naming
   the filter.
 *  Thread Starter [davidlink](https://wordpress.org/support/users/davidlink/)
 * (@davidlink)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/map-shortcode-not-using-custom-info_window-template/#post-6633068)
 * Ok, great! Thanks, Tijmen. I’ll check that out.

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

The topic ‘Map Shortcode not using custom info_window template’ is closed to new
replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [davidlink](https://wordpress.org/support/users/davidlink/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/map-shortcode-not-using-custom-info_window-template/#post-6633068)
 * Status: resolved