小编Sur*_*hod的帖子

Woocommerce archive-product.php覆盖不使用underscores.me主题

我做了这些事情,我已经仔细检查了所有的事情

在插件/ woocommerce/templates/archive-product.php中

我刚刚复制到my-themes/woocommerce/archive-product.php来覆盖核心woocommerce文件.

但是在我尝试了很多次之前它只能用underscores.me工作但它工作但是在最新的更新中它不起作用

WC版本:3.3.5服务器信息:Apache/2.4.18(Ubuntu)PHP版本:5.6.33-3 + ubuntu16.04.1 + deb.sury.org + 1

my_theme/woocommerce/archive-product.php, 

my_theme/woocommerce/content-product.php, 

my_theme/woocommerce/content-product_cat.php, 

my_theme/woocommerce/content-single-product.php, 

my_theme/woocommerce/myaccount/form-login.php, 

my_theme/woocommerce/single-product/add-to-cart/variable.php, 

my_theme/woocommerce/single-product/meta.php, 

my_theme/woocommerce/single-product/short-description.php, 

my_theme/woocommerce/single-product.php, 

my_theme/woocommerce/taxonomy-product_cat.php
Run Code Online (Sandbox Code Playgroud)

php wordpress woocommerce underscores-wp hook-woocommerce

2
推荐指数
1
解决办法
3001
查看次数