
This is a required template in WordPress.)
Index (The default template used when no other template is available. You can override this when using the Template Editor. Page (Displays individual pages.) If you edit this template, all your pages will display the changes to the layout and style you made. Single Post (Displays a single blog post.). As mentioned, templates will differ, depending on the theme you are using: Here is the list of some of the most common templates you will see. In the examples below you will see the difference between the available templates when using the Twenty Twenty-One blocks theme compared to the Twenty Twenty-Two block theme. The theme you are using will determine what type of templates are available. Please note, this list will expand with new releases: Please note, it is limited what templates can be added with the Site Editor.Ĭurrently, it’s limited to adding the following primary templates via the Site Editor. When you start building a new website you can edit existing templates or add new ones. Templates are, as the name implies, design templates that can be used by single or multiple pages and posts. Templates for a post or page display your content with the Post Content block. And the awesome thing is, you will be able to use all the available blocks to meet your requirements. Templates allow you to customize your site by giving your posts and pages their own unique designs and styles. A theme will give your site the look and functionality you need and it will allow you to set the design of your entire site. You could also say templates can be described as a full-page layout that includes things like header, content, and footer areas.ĭon’t get confused between templates and themes. Templates are groups of blocks combined to create a design for a webpage. Theme Developer handbook: Templates and template parts. You can’t clear the customizations to templates that have been provided by a block theme.ĭo you create a custom template via the Site Editor or post/block editor?Īnswer: 2. Templates allow you to customize your site by giving your posts and pages their own unique designs and styles.”Ĭontent gets pulled into posts and pages via the Post Content block. Templates allow you to customize your site by giving your posts and pages their own unique designs and styles.Īnswer: 2 “A template controls the layout of your pages or posts. A template controls the layout of your pages or posts. A template will give your site the look and functionality you need and it will allow you to set the design of your entire site. Have them edit a template or their choice via the Site Editor and secondly, create a custom template such as a landing or portfolio page. Participants have watched you edit and add templates. #Wordpress template how to
Demonstrate how to edit, create new and assign templates to pages and posts via the Template Editor.Įdit a template and create a custom template.
Demonstrate how to edit and add templates via the Site Editor.Differentiate between the dynamic part (content) and reusable parts (static parts).Discuss when it is useful to edit or create templates.Demonstrate the difference between the Site Editor and Template Editor.Explain the role and function of templates.It will be helpful for you to have a local site created before this lesson.A block theme, such as Twenty Twenty-Two.
Do you know the difference between the Site Editor and the Template Editor?. Are you familiar with assigning a template to a post or page?. Can you describe the function of a template?. Participants will get the most from this lesson if they have familiarity with: Assign existing and create new templates for posts or pages. Edit existing and adding new templates provided by your theme. Access templates and explain the difference between dynamic and static content.
ObjectivesĪfter completing this lesson, participants will be able to: This lesson plan will explore using, editing, and adding templates to customize your site by giving your posts and pages their own unique designs and styles.
You could also say templates can be described as a full-page layout that includes things like header, content, and footer areas.