wordpress - 类别页面空白,但商店在 WordPress 上的 WooCommerce 上工作
问题描述
在某些时候,我们不知道何时,类别页面停止显示页面的页眉/页脚以外的任何内容。这不仅适用于一个类别,还适用于所有类别和子类别。
主商店页面和产品,显示精美。例如,这是一个产品页面。 https://thesmartspacer.com/product/conference/
但是,当您单击面包屑路径中的某个类别时,您会看到一个空白页面。
同样,如果您单击以下任何类别: https ://thesmartspacer.com/product-category/ 什么都没有出现 - 空白页面(页眉/页脚除外)。
即使类别中只有产品(例如,没有子类别),结果相同: https ://thesmartspacer.com/product-category/uses-and-applications/banquet-and-events/
我尝试禁用最近历史上任何时候添加的所有插件……或者我怀疑可能会影响类别的插件,包括 Yoast 和 Yoast Premium。但是,页面类别和子类别页面仍然是空白的。
想法?我只是感到困惑,如果我无法弄清楚这一点,我将需要清理网站的类别,以便它能够正常工作……这太激烈了,我不想去那里。
帮助!
谢谢!尼尔
解决方案
您的网站显示以下错误
thesmartspacer.com/:426 GET https://thesmartspacer.com/wp-content/themes/Divi/core/admin/fonts/modules.woff net::ERR_ABORTED 404(未找到)
检查为什么链接不起作用 thesmartspacer.com/:426 GET https://thesmartspacer.com/wp-content/themes/Divi/core/admin/fonts/modules.woff
或者
尝试以下解决方案,它在 divi 主题上参考:https ://divi.help/threads/ttf-module-is-slowing-down-the-page.3062/
推荐阅读
- c# - EF Core多对多查询加入3个表
- vaadin - Vaadin 21:在区域设置更改时使用 ItemLabelGenerator 重新翻译列
- javascript - 未能加载简单的 onclick 事件以以角度显示文本框值
- python - 如何判断数字是否可以写为 n 个不同平方的总和?
- python - 在 Tensorflow 中使用来自大型 numpy 数组的数据集
- sql - 使用枢轴运算符除以成绩总和
- drools - Drools - KIEServer 插入对象然后没有显示在响应中
- mysql - 普通类型的文本存储到 mysql 中,但是当我将文本粘贴到 textarea 中时,它没有存储到数据库 mysql 中
- javascript - 未捕获的类型错误:无法在 HTMLButtonElement.addToCartClicked 处读取未定义的属性(读取“innerText”)
- flutter - Flutter 无法删除“build\flutter_assets”中的目录