---
title: "Create Theme Builder Template Ability: Add Headers Footers and More in WordPress"
url: https://nexterwp.com/docs/nexter-ability-create-template-builder/
date: 2026-05-29
modified: 2026-05-29
author: "sandip patel"
description: "The nexter/create-template-builder ability creates a Nexter Theme Builder template. Supports header, footer, singular, archives, 404, hooks, breadcrumb, and section types."
word_count: 430
---

# Create Theme Builder Template Ability: Add Headers Footers and More in WordPress

## Key Takeaways

- Nexter Extension supports eight template types including header, footer, and page-404.
- Templates are created as inactive by default and require nexter/toggle-template-builder to activate.
- The ability returns an edit_url to open the template directly in Elementor after creation.

The **nexter/create-template-builder** ability creates a new Theme Builder template in Nexter Extension. It supports eight template types: header, footer, breadcrumb, hooks, singular, archives, page-404, and section. You can set display rules and type-specific options on creation. After creating a template, open it in Elementor to design the visual content.

## Key Takeaways

Templates are created as inactive by default. Use **nexter/toggle-template-builder** to activate.

Supported types are header, footer, breadcrumb, hooks, singular, archives, page-404, and section.

Use `standard-universal` as the display rule to show a template across the entire site.

The hooks type requires a **hook_action** parameter specifying which WordPress action hook to attach to.

The ability returns an **edit_url** to open the template directly in Elementor after creation.

## Required Setup

The Theme Builder feature must be enabled in Nexter Extension. Use **nexter/list-extensions** to confirm it is active. After designing the template in Elementor, use **nexter/toggle-template-builder** to make it live on the site.

## Parameters

Only **title** and **type** are required. Type-specific parameters only apply to their matching template type.

**title** (string, required) sets the template name.

**type** (string, required) sets the template type. Options: header, footer, breadcrumb, hooks, singular, archives, page-404, section.

**post_status** (string, optional) sets the WordPress post status. Options: publish, draft. Defaults to publish.

**display_rules** (array of strings, optional) controls where the template appears. Example: `standard-universal` for the full site.

**exclude_rules** (array of strings, optional) excludes specific locations from the display rules.

**activated** (boolean, optional) sets whether the template goes live immediately. Defaults to false.

**sticky_header** (string, optional) sets header sticky behavior. Header type only.

**transparent_header** (string, optional) sets header transparency. Header type only.

**footer_style** (string, optional) sets the footer style variant. Footer type only.

**hook_action** (string, optional) sets the WordPress hook to attach to. Hooks type only.

**hook_priority** (string, optional) sets the hook execution priority. Defaults to 10. Hooks type only.

**disable_header_404** and **disable_footer_404** (string, optional) hide the header or footer on 404 pages. page-404 type only.

## What It Returns

The ability returns a confirmation object with the new template details.

**success** (boolean) confirming the template was created.

**id** (integer) of the new template post for use in subsequent toggle, update, or delete calls.

**edit_url** to open the template directly in Elementor for visual design.

## When to Use This Ability

Create a custom header or footer and assign it to specific pages or the full site.

Add a custom 404 page template to replace the default WordPress not-found layout.

Attach a content block to a WordPress action hook using the hooks template type.

Build reusable section templates to insert consistently across multiple pages.

## Related Documentation

nexter/toggle-template-builder: Activate or deactivate a template after creation

nexter/list-templates-builder: View all existing templates and their IDs

nexter/update-template-builder: Edit display rules or settings on an existing template