{"id":18506013,"date":"2025-06-10T16:29:19","date_gmt":"2025-06-10T16:29:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=18506013"},"modified":"2025-06-10T17:08:16","modified_gmt":"2025-06-10T17:08:16","slug":"swiper-js-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/swiper-js-2\/","title":{"rendered":"Swiper.js"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I noticed the swiper.js 404 issue also <a href=\"https:\/\/wordpress.org\/support\/topic\/slider-issues-missing-swiper-js-icons-not-displaying-images-not-loading\/\">mentioned in this thread<\/a>.<br \/><br \/><code>The resource from \u201c<a href=\"https:\/\/kmpmanufacturing.com\/wp-content\/plugins\/elementor\/assets\/lib\/swiper\/swiper.min.js?ver=6.8.1\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/hostname.com\/wp-content\/plugins\/elementor\/assets\/lib\/swiper\/swiper.min.js?ver=6.8.1<\/a>\u201d was blocked due to MIME type (\u201ctext\/html\u201d) mismatch (X-Content-Type-Options: nosniff).<\/code><br \/><br \/>We do have the site running through Cloudflare. <br \/><br \/>The path to the actual file in the elementor plugin should include the version number. <br \/><br \/>This is path in the console error <br \/><code>\/wp-content\/plugins\/elementor\/assets\/lib\/swiper\/swiper.min.js?ver=6.8.1<\/code><br \/><br \/>But the files are actually in: <br \/><code>\/wp-content\/plugins\/elementor\/assets\/lib\/swiper\/<strong>v8\/<\/strong>swiper.min.js?ver=6.8.1<\/code><br \/><br \/>When I disable the Themesflat plugin, the error about the missing swiper.js file goes away and this line disappears from the page source:<br \/><br \/>https:\/\/www.dropbox.com\/scl\/fi\/bq0b7f7verqnws9in4y9o\/Screenshot-2025-06-10-at-11.14.53-AM.png?rlkey=1zmlr786r4f7br3o5g4hpybql&amp;dl=0<br \/><br \/>It re-appears when TF plugin is reactivated. So it is really Elementor or TF Add-ons? <br \/><br \/>Should the tf script reference the correct swiper path with the version number in it? <br \/><\/p>\n","protected":false},"template":"","class_list":["post-18506013","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18506013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18506013\/revisions"}],"predecessor-version":[{"id":18506083,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18506013\/revisions\/18506083"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18506013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}