Creating Reusable Templates
Learn how to build reusable templates in WordPress and Elementor to speed up your workflow, ensure design consistency, and reduce repetitive work across your website.
Learning Objectives
- Understand what templates are and why they matter.
- Create reusable templates for pages, sections, and global elements.
- Use Elementor Theme Builder for dynamic templates.
- Apply templates across multiple pages to ensure consistent layout.
- Update templates globally and manage template revisions.
What Are Templates?
A template is a pre-designed layout you can save and reuse across pages. Templates help you:
- Maintain consistent styling and structure.
- Speed up page creation.
- Apply global updates in one place.
- Reduce design errors and inconsistencies.
Types of Templates
- Page Templates: Full-page designs (e.g., service page layout).
- Section Templates: Reusable blocks such as hero, testimonials, FAQs, or CTAs.
- Theme Templates: Dynamic templates for headers, footers, blog posts, archives, and single pages.
Templates in WordPress (Without Elementor)
- Use Patterns and Reusable Blocks in the Block Editor.
- Create, save, and reuse common layouts for consistent structure.
- Update reusable blocks once to change them sitewide.
Creating a Reusable Block
- Select a block or group of blocks.
- Click the three-dot menu.
- Choose Add to Reusable Blocks.
- Give it a clear name (e.g., “Homepage CTA”).
- Insert it anywhere using the block selector.
Creating Templates in Elementor
Elementor provides a powerful template library where you can save any design for reuse.
Saving a Section as a Template
- Hover over the section you want to save.
- Click the Section Handle icon.
- Select Save as Template.
- Name it clearly (e.g., “Features Section v1”).
- Access it later via Templates → Saved Templates.
Saving an Entire Page
- In Elementor, click the Green Arrow next to the Update button.
- Choose Save as Template.
- Name your page template (e.g., “Service Page Template”).
Inserting a Saved Template
- Edit a page with Elementor.
- Click the Folder Icon.
- Choose from:
- Your Templates
- Elementor Template Library
- Click Insert.
Using Elementor Theme Builder
Theme Builder lets you design dynamic templates used across your site.
Available Template Types
- Header (global navigation)
- Footer (global site links)
- Single Post template
- Single Page template
- Archive template
- 404 page
- Search results
Creating a Theme Template
- Go to Templates → Theme Builder.
- Select the template type to create.
- Design your layout using dynamic widgets (post title, featured image, meta, etc.).
- Click Publish.
- Set Display Conditions:
- Entire Site
- Specific categories
- Specific pages
- Tags, authors, archives
Updating a Template Globally
Modify the saved template, click Update, and every page using that template updates instantly. This is how you create global consistency.
Template Naming Conventions
Clear names make templates easier to manage, especially as your library grows.
- Use versioning: Homepage Hero v1.
- Group by type: Service – Pricing Section.
- Avoid vague names like “Template 1”.
Recommended Workflow
- Design reusable sections first (hero, features, CTA, testimonials).
- Create page templates for repeatable layouts (service pages, landing pages).
- Set global theme templates for headers, footers, and blog pages.
- Use template insertion to build full pages quickly.
- Update templates centrally when branding or layout changes.
Common Mistakes to Avoid
- Rebuilding the same section from scratch for every page.
- Using inconsistent spacing or font sizes.
- Failing to organize templates with clear names.
- Editing templates directly on pages instead of updating the master template.
Activity: Create a Reusable Section Template
- Build a reusable CTA section with a headline, text, and button.
- Save it as a section template (Elementor) or reusable block (Gutenberg).
- Insert it into at least three pages.
- Update the CTA wording in the template and verify it updates everywhere.
Deliverable: Submit screenshots showing the CTA section appearing on multiple pages.