elementor/list-templates lists the saved Elementor templates on the site, with filters for template type and status.
Including the trash, which is where a surprising amount of a site’s template library usually lives.
At a glance
| Ability | elementor/list-templates |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › Templates & Theme Builder |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Elementor templates are posts of the elementor_library post type, distinguished by a template_type meta value. Kits and global widgets are the same post type with different types — which is why they appear in the same place and behave differently.
The type filter is what makes the list usable. A site with Theme Builder in use has headers, footers, single templates, archive templates, popups and saved sections all in one post type, and “which headers exist” is a completely different question from “what saved sections do we have”.
The status filter matters for a specific reason: a trashed Theme Builder template still holds its display conditions, and Elementor’s condition conflict checks still see it. A trashed header can be why a new one cannot claim the condition it wants.
Templates accumulate. Every “save as template” click adds one, and nothing ever removes them, so an established site’s library is mostly archaeology.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
template_type | string | No | Filter by type: page, section, popup, header, footer, single or archive. |
status | string | No | Post status, including trash. |
What comes back
| Name | Type | What it is |
|---|---|---|
templates | array | Each template with its ID, title, type and status. |
count | integer | How many matched. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What Elementor templates do we have?
It resolves to one call:
{
"ability": "elementor/list-templates",
"parameters": {
"template_type": "header"
}
}Worth knowing
- Kits and global widgets share this post type with a different template type.
- A trashed Theme Builder template still holds its display conditions.
- Template libraries accumulate and nothing prunes them.
- Read-only.
Related abilities
- Get Elementor Template — one template in full
- Empty Elementor Template Trash — clear the accumulated trash
- Find Elementor Template For Pattern — search by intent
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category