wordpress 在woo-commerce中更改商店URL
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37159094/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
change shop URL in woo-commerce
提问by Ashwani
Right now www.mysite.com/shop
list all product.
I want to list other content in shop
page (say only category) and in www.mysite.com/shop-product
to show content what is shown right now in shop page.
现在www.mysite.com/shop
列出所有产品。我想列出shop
页面中的其他内容(仅说类别)并www.mysite.com/shop-product
显示商店页面中现在显示的内容。
I have tried changing Permalink in edit post page www.mysite.com/shop-product
and it is showing all product as desired but problem is same content is also shown when i access url www.mysite.com/shop
.
我尝试在编辑帖子页面中更改永久链接,www.mysite.com/shop-product
它根据需要显示所有产品,但问题是当我访问 url 时也显示相同的内容www.mysite.com/shop
。
any help is very appreciated.
非常感谢任何帮助。
回答by Kappa
If you want to change shop URL then follow the given steps below
如果您想更改商店网址,请按照以下步骤操作
- Go to Woocommerce-> Settings-> Productstab -> Display
- Under the Shop & product pagesheading, select your custom Shop page
- Save changes
- 转到Woocommerce->设置->产品选项卡 ->显示
- 在商店和产品页面标题下,选择您的自定义商店页面
- 保存更改
It will work :)
它会工作:)