Viewing 1 replies (of 1 total)
  • Plugin Author luciole135

    (@luciole135)

    Hi,
    I wrote two other plugins that do not load masonry and using other CDN (MAXCDN and CloudFlare), here:
    Use jQuery CDN
    Use jQuery Cloudflare

    Create options unnecessarily slow down the site and the plugin, simply delete the lines 15; 18 and 21 in the source code.

    line 15: $jquery_masonry_ver = $wp_scripts->registered['masonry']->ver;
    
    line 18: wp_deregister_script('masonry');
    
    line 21: wp_enqueue_script('masonry', 'https://cdn.jsdelivr.net/masonry/'.$jquery_masonry_ver.'/masonry.min.js', false, null,true);

Viewing 1 replies (of 1 total)
  • The topic ‘Option to disable masonry and not load min.map’ is closed to new replies.