Title: Compatibility issues with Leaflet MapsMarker plugin
Last modified: August 20, 2016

---

# Compatibility issues with Leaflet MapsMarker plugin

 *  Resolved [BrandiABoyd](https://wordpress.org/support/users/brandiaboyd/)
 * (@brandiaboyd)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/compatibility-issues-with-leaflet-mapsmarker-plugin/)
 * Hi, I use your plugin and it’s great, does just what it says, simple and easy,
   I appreciate your hard work. Unfortunately it seems to cause some issues with
   another plugin I love, [Leaflet Maps Marker](http://wordpress.org/extend/plugins/leaflet-maps-marker/),
   where it causes the tabbed admin section to mostly disappear and lose it’s styling.
   I couldn’t begin to say what causes it exactly, but when I deactivate your plugin
   it all works great.
 * [http://wordpress.org/extend/plugins/wp-ultra-simple-paypal-shopping-cart/](http://wordpress.org/extend/plugins/wp-ultra-simple-paypal-shopping-cart/)

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

 *  [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/compatibility-issues-with-leaflet-mapsmarker-plugin/#post-3294149)
 * Hi,
 * I am the developer of Leaflet Maps Marker – the problem is that your plugin is
   inserting the css file
    `<link rel='stylesheet' type='text/css' href='http://
   current.mapsmarker.com/wp-content/plugins/wp-ultra-simple-paypal-shopping-cart/
   wp_ultra_simple_shopping_cart_admin_style.css' />` on all admin pages and breaking
   my settings page.
 * Please take a look at [https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php](https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php)
   line 334-362 how I changed my code to include my js+css only on admin pages.
   
   regards, Robert
 *  Plugin Author [Mike Castro Demaria](https://wordpress.org/support/users/mikecastrodemaria/)
 * (@mikecastrodemaria)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/compatibility-issues-with-leaflet-mapsmarker-plugin/#post-3294164)
 * Hi Robert,
 * There is something I can do to avoid conflict with your own admin css ?
 * Cheers,
    Mike
 *  [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/compatibility-issues-with-leaflet-mapsmarker-plugin/#post-3294165)
 * Hi Mike,
 * I would suggest two things:
 * 1. add your scripts and styles via wp_enqueue_scripts() resp. wp_enqueue_styles().
   I do this in my plugin on line 639-563:
    [https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php](https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php)
 * 2. enqueue css+js only on your admin pages. I do this in my plugin with the code
   on line 350-378:
    [https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php](https://github.com/robertharm/Leaflet-Maps-Marker/blob/dev/leaflet-maps-marker.php)
 * Would be glad if you could add this within your plugin as it would allow me to
   remove my incompatibility warning for your plugin.
    best regards,
 * Robert

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

The topic ‘Compatibility issues with Leaflet MapsMarker plugin’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-ultra-simple-paypal-shopping-cart_bcd3e3.
   svg)
 * [WordPress Ultra Simple Paypal Shopping Cart](https://wordpress.org/plugins/wp-ultra-simple-paypal-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ultra-simple-paypal-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ultra-simple-paypal-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ultra-simple-paypal-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ultra-simple-paypal-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ultra-simple-paypal-shopping-cart/reviews/)

## Tags

 * [plugin compatibility](https://wordpress.org/support/topic-tag/plugin-compatibility/)

 * 3 replies
 * 3 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/compatibility-issues-with-leaflet-mapsmarker-plugin/#post-3294165)
 * Status: resolved