@ Craig
RE: your site respectively the
“connection” plugin also seems to enqueue leaflet.js
Thew JS file is only enqueued on pages where Connections actually renders a map. Take a second look at the file being included. Notice that is is a CSS file and not a JS file.
RE: I am trying to track down a possible conflict with MapMarkers plugin
It probably a lot better to use the Chrome Dev tools to simply block the file which Connections loading. It’s what I do.
Not knowing the exact issue you are trying to debug, I did find two issues affecting Maps Marker caused by the theme. The icons for the map style layer control and category layer control are not being displayed as well as the map reset. This is because the theme has set the background images for the a tag to 0% globally. Why would they do that?
Add this to the theme’s custom CSS area generally found in the theme Customizer:
.leaflet-control-layers-toggle {
background-size: auto;
}
.maps-marker-pro .mmp-control-resetview {
background-size: auto;
}
That should correct those issues.
RE: Can you direct me to where you do the enqueuing so I can check? I really want to see if I can get both plugins to play nicely!
Sure, but at this point my finger is pointing at the theme :)
Here is where the CSS is being enqueued:
Here’s where the JS is enqueued:
Hope this helps!
