WordPress主题与iOS手机的WP火箭无法最佳合作

发布于 2025-01-29 22:53:26 字数 318 浏览 4 评论 0原文

您好,所以我们在WordPress网站上使用了Tagdiv的报纸主题。我们将WP Rocket用作缓存插件。

WP Rocket中有一个“延迟JS执行”功能,该功能在激活后将显示iOS手机设备中的错误。

每个链接,尤其是汉堡图标菜单按钮,必须点击两次才能显示菜单。但是,如果我向下滚动页面,&然后点击它可以工作的菜单按钮。因此,有一个加载或延迟的JS文件?

WP Rocket有一个“排除JS文件”部分,我们可以排除不应该“延迟”的特定JS脚本,因此也许需要排除文件?

谁能帮我吗?如果有的话,还需要排除哪些JS脚本?我希望我的问题在这里可以接受。谢谢。

Hello so we are using Tagdiv's Newspaper Theme on our Wordpress website. We are using WP Rocket as the caching plugin.

There is a feature "Delay JS Execution" in WP Rocket, that when activated, is showing a bug in the IOS mobile phone devices.

Every link, especially the hamburger icon menu button has to be tapped twice for the menu to appear. However if I scroll down the page, & then tap the menu button it works. So there is a JS file(s) that's loaded or delayed?

WP Rocket has an "Exclude JS file" section where we can exclude specific JS scripts that shouldn't be "delayed" So perhaps a file needs to be excluded?

Can anyone help me with this? What more JS scripts need to be excluded if any? I hope my question is acceptable here. Thank you.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文