Thank you very much for providing this lovely plugin. It works quite well!
I noticed that the plugins loads 3rd party content from cdn.jsdelivr.net. I think that is not the best solution in terms of the privacy of my visitors.
Would it be possible to include fancybox.css
and fancybox.umd.js
directly into your plugin? Or could perhaps even the fancybox that ships with ngg be used?
I could contribute the code modifications my self, if I may.
viele Grü?e
MaraX
]]>I have now turned happy addons of and is faster. I did try all ellements happy addons off, but than still loading.
Did not seen this before, slowing down site.
If you like I can turn it on, so you can see. We are building new site in test server. https://whise.ohanaproject.nl/
I have two errors loading on my home page. How do I solve please?
ERROR 1
TypeError: null is not an object (evaluating ‘t.el.tagName’)
value – [email protected]:287:162
t – [email protected]:54
(anonymous function) – totalcool.co.uk:670
ERROR 2
Failed to load the resource: the server responded with a status of 404 ()
https://cdn.jsdelivr.net/npm/typed.min.js.map
How to do that?
]]>First off, I’d like to say, good job on this plugin!
I’ve dabbled with this kind of thing myself, although at a much more basic level.
function enqueue_jsdelivr( $src, $handle ) {
if ( strpos( $src, includes_url() ) !== false ) {
global $wp_version;
return explode( '?', str_replace( includes_url(),'https://cdn.jsdelivr.net/gh/wordpress/wordpress@'.$wp_version.'/wp-includes/', $src ))[0];
}
return $src;
}
add_filter( 'script_loader_src', 'enqueue_jsdelivr', 10, 2 );
add_filter( 'style_loader_src', 'enqueue_jsdelivr', 10, 2 );
Having a flick through the code, I can see references to getting the minified file from npm.
I know its early in the release of the plugin, but have you or would you consider taking advantage of jsdelivr’s ability to generate minified files if none exist.
https://cdn.jsdelivr.net/wp/plugins/wordfence/tags/7.1.12/css/wordfenceBox.1536768948.css
and
https://cdn.jsdelivr.net/wp/plugins/wordfence/tags/7.1.12/css/wordfenceBox.1536768948.min.css
as an example?
I understand that this might not be something everyone would want, but perhaps adding something like define(‘commonwp_minify_all’, true); to wp-config.php could be a way for those who wish to toggle it on?
Thanks
]]>Access to Font at ‘https://cdn.jsdelivr.net/fontawesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0’ from origin ‘https://example.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://example.com’ is therefore not allowed access.
Access to Font at ‘https://cdn.jsdelivr.net/fontawesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0’ from origin ‘https://example.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://example.com’ is therefore not allowed access.
Access to Font at ‘https://cdn.jsdelivr.net/fontawesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0’ from origin ‘https://example.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://example.com’ is therefore not allowed access.
Any help, or explanation to why this is happening?
]]>Currently only using Cloudflare.
I planned to using Cloudinary and jsDelivr without Cloudflare.
Q1. Still can use Smush.it plugin?
Q2. Do I need configuring the CDN setting in W3 Total Cache plugin?
Q3. Cloudinary compatible with jsDelivr?
Pls advise n Thanks
]]>Now if i use CloudFlare + jsDelivr + Jetpack together is this cause any problem or is it possible to use all at same time
]]>