首页 文章

删除WooCommerce存档产品 Headers 链接

提问于
浏览
0

我有一个使用WooCommerce插件的WordPress网站 . 我在调用产品存档时尝试删除指向单个产品页面的超链接 . 我似乎无法弄明白 . 如果您查看我的网站snivo.com,在主页上列出了产品,但产品的 Headers (域名)是链接 . 这就是我想要删除的内容 .

请帮忙!

1 回答

  • 0

    转到 wp-content > plugins > woocommerce > templates 并从那里复制 content-product.php .

    下一步是在 wp-content > themes > your-current-theme 中创建名为 woocommerce 的文件夹 . 并在该文件夹中粘贴上面复制的文件 .

    之后从 wp-content > themes > your-current-theme > woocommerce 打开 content-product.php .

    <a> 低于 **** . 删除 <a> .

    将关闭 </a> above <?php do_action( 'woocommerce_after_shop_loop_item' ); ?> . 也可以删除 .

    就是这样 . 你完成了 .

    如果您有任何疑问,请告诉我 .

相关问题