添加到CSS并没有执行任何操作,也从下面的php添加了代码片段。
CSS:
.woocommerce-result-count {
display: none;
}```
Snippets:
```removeaction ('woocommercebeforeshoploop', 'woocommerceresultcount', 20);```
覆盖woocommerce的默认样式,如下所示:
.archive .woocommerce-result-count {
display: none !important;
}