elementor/duplicate-template duplicates a saved template with fresh element IDs, preserving its type, conditions and sub-type.
Preserving the conditions is the decision worth knowing about.
At a glance
| Ability | elementor/duplicate-template |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › Templates & Theme Builder |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Writes data |
| Repeatable | Not idempotent — each call changes the row set, so re-running is not a no-op |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
The copy inherits where it applies
A duplicated Theme Builder template arrives with the same display conditions as its source, which means two templates now claim the same part of the site.
Elementor resolves that by specificity and order, and the result is one of them rendering and the other not — which looks like the duplicate silently failing.
That is the right default nonetheless: a duplicate is usually made to become the replacement, and losing the conditions would mean reconstructing them by hand. But the conditions need changing on one of the two before both are live.
Element IDs must be unique within a document. Two elements sharing an ID is a state Elementor does not expect, and the symptoms — an edit landing on the wrong element, a duplicate that disappears — are hard to trace back to the cause.
The safe pattern is duplicate, edit the copy, adjust conditions on both so only one claims each target, then trash the original.
Not idempotent — each call produces another copy.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
template_id | integer | Yes | The template post ID. |
What comes back
| Name | Type | What it is |
|---|---|---|
template_id | integer | The new template. |
source_template_id | integer | What it was copied from. |
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:
Duplicate the header template so I can try a variation.
It resolves to one call:
{
"ability": "elementor/duplicate-template",
"parameters": {
"template_id": 640
}
}Worth knowing
- Conditions are preserved, so two templates now claim the same targets.
- Adjust conditions before both are live.
- Element IDs are regenerated.
- Not idempotent.
Related abilities
- Update Theme Builder Conditions — resolve the overlap
- Get Theme Builder Conditions — see what it inherited
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category