Table of Contents
当您为您的网站使用主题时,您将获得主题的单页模板。使用 Elementor ,您可以控制 单页模板的布局和设计。
重要提示:单页模板旨在使用动态小部件将设计应用于页面,而不是将内容(图像小部件、文本小部件等)直接添加到模板中。https://www.youtube.com/embed/_y5eZ60lVoY?feature=oembed
- 转到Templates > Theme Builder > Single > Add New ,从下拉列表中选择Single ,然后在Select Post Type下,选择Page并单击Create Template。
- 选择一个页块并插入。或者,您可以自己设计。
- 单击小部件面板左下角的齿轮图标以在编辑时选择特定页面作为预览示例。
- 根据需要编辑任何元素。完成设计后,单击发布。
- 选择一个条件。点击了解条件。
模板 > 添加新的 #
![](https://elementor.com/cdn-cgi/image/f=auto,w=1024,h=1024/help/wp-content/uploads/sites/14/2020/04/templates-addnew1.png)
选择模板类型(单/页) #
![](https://elementor.com/cdn-cgi/image/f=auto,w=1024,h=1024/help/wp-content/uploads/sites/14/2020/12/templatetype-1024x601.png)
从模板库中选择并插入 #
![](https://elementor.com/cdn-cgi/image/f=auto,w=1024,h=1024/help/wp-content/uploads/sites/14/2020/04/inserttemplate-1024x688.jpg)
在编辑时选择要预览的页面 #
![](https://elementor.com/cdn-cgi/image/f=auto,w=1024,h=1024/help/wp-content/uploads/sites/14/2020/04/singlesettings.jpg)
编辑所需的任何元素,然后发布并设置显示条件 #
![](https://elementor.com/cdn-cgi/image/f=auto,w=1024,h=1024/help/wp-content/uploads/sites/14/2020/04/displayconditions-1024x725.jpg)
注意:模板不是页面,在 WordPress 中不能设置为主页。
只有使用默认模板的页面才会应用单个帖子模板,即使它们在其他方面符合显示条件标准。使用 Canvas 或 Full Width 模板(或除默认模板之外的任何模板)的页面将不会应用单个帖子模板。