What are Templates?
Templates in WordPress define the structure and layout of a page or post, by arranging various blocks in a pre-set layout. These templates dictate where elements like headers, footers, sidebars, and content areas appear on the page. In the Full Site Editor, templates can be customized and reused across different pages, helping ensure consistency in design and layout throughout the site.
For more information, visit the WordPress Full Site Editing documentation and WordPress Templates documentation.
How it Works
Templates are customizable layouts that define the structure and design for various types of pages across your website. Built using blocks within the Full Site Editor, templates help control where elements like headers, footers, sidebars, and content areas appear. Refoundry fully supports WordPress templates, allowing you to integrate any Refoundry blocks into your templates, including Reusable Component Blocks.
Template options include:
Page Templates control the layout of static pages like your Homepage, About page, or Contact page. In Refoundry, you can use any blocks, including Reusable Component Blocks, to create structured, reusable layouts for these pages.
Post Templates define how individual blog posts are displayed, using blocks to control the layout of post content, metadata, and any additional design elements. You can customize these using Refoundry blocks like the Query Block, Related Posts Block or Post Terms Block, to name a few, or features like Custom Fields provide specific settings for templating post layouts in templates.
Post Type Templates allow you to create custom templates for other post-type content your site needs, like projects, case studies, services – you name it. This template and its settings governs the layout for all of that post type.
Archive Templates manage the layout for pages that list all of a post type or taxonomy (like categories or tags). Refoundry’s Query Block and Archive List Block are specifically designed for use in archive templates, allowing you to control how post lists are displayed, including filters, pagination, and custom layouts.
Taxonomy Templates handle the layout for taxonomy pages like categories or tags.
Search Result Template define how content is displayed when a user searches your site. In Refoundry, you can customize these templates using blocks like the Query Block to control the display of search results.
404 Error Templates manages the layout for pages displayed when content isn’t found. With Refoundry, you can use custom blocks to design a user-friendly 404 page with helpful links, search options, or calls to action.
Author Templates allow for the customization of pages that aggregate posts by a specific author. Refoundry blocks can be used to create dynamic author pages, pulling in post lists and metadata with ease.
Custom Templates allow you to create fully custom templates using Refoundry blocks. These are perfect for special landing pages, sales pages, or unique content layouts that need to stand out from the rest of the site.