wp_elementor_set_template_conditions
Set display conditions for an Elementor Theme Builder template to control its visibility, like showing on all pages or a specific page.
Instructions
Replace all display conditions on an Elementor Theme Builder template. Use 'include/general' to show on all pages, 'include/singular/page/43' for a specific page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"template_id": "<template_id>",
"conditions": "<conditions>"
},
"name": "wp_elementor_set_template_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | Yes | Condition strings e.g. ['include/general'] or ['include/singular/page/43'] | |
| template_id | Yes | Template ID from wp_elementor_list_theme_templates |