Categories

有特色的模板

WooCommerce. 如何设置首页显示的产品数量

阿米娜Freinger 2014年12月22日
Rating: 5.0/5. From 1 vote.
Please wait...

本教程将向您展示如何设置在主页上显示的产品数量 WooCommerce模板.

WooCommerce. 如何设置首页显示的产品数量

WooCommerce模板通常使用短代码在主页上显示产品. 如果需要修改首页产品数量,请执行以下步骤:

  1. 登录到WordPress管理面板,打开你的主页 Pages menu:

    WooCommerce_set_number_of_products_on_the_home_page1

  2. 在文本区域找到类似的 shortcode:

    [featured_products per_page="4" columns="4" orderby="date" order="desc" description="false"]

    This shortcode 展示已设置为“特色”的产品. In this shortcode 您可以编辑产品编号(per_page= " 4″), 列数(columns= " 4″), 按参数对检索到的帖子进行排序(orderby= "日期/标题/热门/随机"), 更改产品的排序顺序(order= " desc/asc ")并启用/禁用产品描述(description= " false/true ").

    例如,如果要在主页上显示8篇文章,则编辑 shortcode 看起来是这样的:

    [featured_products per_page="8" columns="4" orderby="date" order="desc" description="false"]
  3. Click Update 按钮,将更改保存在页面上:

    WooCommerce_set_number_of_products_on_the_home_page2

  4. 现在我们应该把更多的产品设置为“特色”. Navigate to Products menu, 选择您想在主页上看到的产品,然后单击产品名称对面的星形图标. 请查看 screenshot below:

    WooCommerce_set_number_of_products_on_the_home_page3

  5. 刷新页面以检查站点上的更改. 可以看到首页显示的产品数量更改成功.

请随时查看下面的详细视频教程:

WooCommerce. 如何设置首页显示的产品数量

Wordpress的酷主题
这个条目被张贴了出来 WooCommerce教程 and tagged home, number, products, set, WooCommerce. Bookmark the permalink.

提交罚单

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: 提交罚单