• Hi,

    I am the developer of the mapping plugins Leaflet Maps Marker (free version) and Maps Marker Pro (pro version).

    A user of our plugin reported a plugin compatibility with your plugin: if you plugin is active, our settings panel is not displayed.

    We analysed this and found that this is caused by your stylesheet /assets/css/admin.css which gets enqueued on every admin page and not just on the admin pages where it is needed (which would be WordPress best practice).

    As we cannot really solve this from our side, we kindly ask you to update your plugin so that the CSS is only enqueued where needed on backend. This could be done, e.g by changing the function in \vr-calendar-sync\Admin\Classes\VRCalendarAdmin.class.php from

        public function enqueueStyles()
        {
            wp_enqueue_style( 'wp-color-picker' );
            wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
            wp_enqueue_style( VRCALENDAR_PLUGIN_SLUG . '-plugin-styles', VRCALENDAR_PLUGIN_URL.'/assets/css/admin.css', array(), VRCalendar::VERSION );
        }
    

    into e.g.

    public function enqueueStyles()
    {
    	$page = (isset($_GET['page']) ? $_GET['page'] : '');
    	if ( ($page == 'vr-calendar-dashboard') || ($page == 'vr-calendar-add-calendar') || ($page == 'vr-calendar-settings') || ($page == 'vr-calendar-information') ) {
    		wp_enqueue_style( 'wp-color-picker' );
    		wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
    		wp_enqueue_style( VRCALENDAR_PLUGIN_SLUG . '-plugin-styles', VRCALENDAR_PLUGIN_URL.'/assets/css/admin.css', array(), VRCalendar::VERSION );
    	}
    }
    

    best,

    Robert

  • The topic ‘Plugin conflict with Leaflet Maps Marker / Maps Marker Pro’ is closed to new replies.