Title: [Plugin: Google Maps Store Locator for WordPress] CSS issue
Last modified: August 20, 2016

---

# [Plugin: Google Maps Store Locator for WordPress] CSS issue

 *  [Maor Chasen](https://wordpress.org/support/users/maor/)
 * (@maor)
 * [14 years ago](https://wordpress.org/support/topic/plugin-google-maps-store-locator-for-wordpress-css-issue/)
 * CSS is being loaded on all admin pages. The CSS should only be loaded on the 
   plugin specific admin pages. You can check via using the `$pagenow` global, or
   using [the “load” hook](http://codex.wordpress.org/Plugin_API/Action_Reference/load-(page)).
 * BTW, another thing I ought to note is that I noticed the plugin is using a file
   called `generate-xml.php` for AJAX calls. This is usually considered a bad practice.
   [The `wp_ajax_` hook](http://codex.wordpress.org/AJAX_in_Plugins) should be used
   instead for best performance and also for insuring a more secure way.
 * Good luck.
 * [http://wordpress.org/extend/plugins/store-locator/](http://wordpress.org/extend/plugins/store-locator/)

The topic ‘[Plugin: Google Maps Store Locator for WordPress] CSS issue’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator_343c21.svg)
 * [Store Locator for WordPress with Google Maps – LotsOfLocales](https://wordpress.org/plugins/store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator/reviews/)

## Tags

 * [best practices](https://wordpress.org/support/topic-tag/best-practices/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 0 replies
 * 1 participant
 * Last reply from: [Maor Chasen](https://wordpress.org/support/users/maor/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-google-maps-store-locator-for-wordpress-css-issue/)
 * Status: not resolved