在存档页面上使用woocommerce时,会有一个包含分页的前商店循环。
分页也包括在商店循环之后,所以我想从页面顶部删除它,并将其留在底部。
这是归档页面代码。从页面顶部删除前商店循环php代码可以正常工作,但会破坏侧边栏的页面格式:
<?php
/** * The Template for displaying product archives, including the main shop page which is a post type archive. * * Override this template by copying it to yourtheme/woocomm