swiper.js 正在将我的灯箱重定向到原始媒体 URL

发布于 2025-01-18 12:57:15 字数 431 浏览 3 评论 0原文

swiper.min.js 文件是我的 WordPress 的一部分,不允许加载我网站上的任何与灯箱相关的插件。当您点击它时,您会瞬间看到灯箱箭头,然后它会重定向到原始媒体 URL。有人可以查明 swiper.js 文件中是什么导致了这种情况发生吗?这样我就可以将其删除。我会非常感激。我花了几天时间试图找出问题所在,最后我至少指出它来自 swiper.min.js。

使用灯箱插件的网站链接:https://smithspecialized.com/edmonton-drawworks/

I尝试删除文件中的一些内容,我认为这些内容与灯箱重定向到媒体 URL 有关,但后来它破坏了代码,所以我认为我删除了太多内容,或者代码中不正确的部分。

The swiper.min.js file that was part of my WordPress them is not allowing any lightbox related plugins on my website to load. When you click on it, you can see the lightbox arrows for a split second, then it redirects to the original media URL. Can someone pinpoint what it is in the swiper.js file that is making this happen. That way I can remove it. I would so appreciate it. I've been spending days trying to figure out what the issue is, and I've finally at least pin pointed that it's coming from swiper.min.js.

Website link where lightbox plugin is used: https://smithspecialized.com/edmonton-drawworks/

I tried removing some things in the file that I thought had something to do with the lightbox redirecting to media URL, but then it broke the code so I think I removed too much, or the incorrect section in the code.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离去的眼神 2025-01-25 12:57:15

嘿,如果不从内部访问网站,很难发现任何错误。如果不想授予访问权限,

  1. 请使用不同的插件或
  2. 尝试禁用和启用插件,因为有时插件之间的冲突会导致问题。

Hey there it's difficult to find any error without accessing website from inside. If don't want to give access then-

  1. please use different plugin or
  2. try to disable and enable plugin, as sometime confliction between plugin caused the issue.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文