我安装了 aio 主题和 woocommerce 插件。
我可以在 /shop
中看到产品,但我想在主页上看到它。
但问题是,如果我在设置->阅读
中将其设为主页,它什么也不会显示。
最佳答案
方法#1:
这是最简单的方法,如下:
Add
[products]
shortcode to your existing home page, update it and its done.
如果您需要额外的定制,您可以从 WooCommerce 的官方链接获取帮助。
方法#2:
Follow these steps:
Step #1: create a New Page, Give it a suitable Title (like: shop).
Step #2: This is the important step, here you need to make sure that the permalink of this page must be like:
http://YOUR-DOMAIN-NAME/shop/
Here
YOUR-DOMAIN-NAME
refers to your own website URLStep #3: Now go to
Settings->Reading
Select the above created Page as the Front page. save settings.Step #4: visit your website.
关于wordpress - 在 WordPress 中将商店页面设为主页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32537765/