elementor/evaluate-render-context inspects the frontend wrapper and render context for a post: the template file, the canvas type, and the Elementor edit-mode flag.
It answers why a page looks different from the document that produced it.
At a glance
| Ability | elementor/evaluate-render-context |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › Discovery & Guidance |
| 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
An Elementor document renders inside something: the theme’s page template, Elementor’s full-width header-and-footer template, or the canvas template with nothing around it at all.
Which one applies is a page-level setting, and it decides whether the theme’s header and footer appear, whether the theme’s content width constrains the page, and whether the theme’s own styling reaches inside.
That explains the most common class of Elementor confusion: a full-width section that is not full width, a page with unexpected padding on both sides, content sitting inside a container nobody put there.
The edit-mode flag distinguishes a post genuinely built with Elementor from one that has the meta and is being rendered by something else — a real state on sites where Elementor was tried and abandoned on some pages.
Read this before debugging a layout problem in the document. Quite often the document is fine.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
post_id | integer | Yes | The post to inspect. |
What comes back
| Name | Type | What it is |
|---|---|---|
template_file | string | The template rendering the post. |
canvas_type | string | default, elementor_canvas or elementor_header_footer. |
edit_mode | boolean | Whether Elementor is the editor for this post. |
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:
Why does this page have padding on both sides?
It resolves to one call:
{
"ability": "elementor/evaluate-render-context",
"parameters": {
"post_id": 412
}
}Worth knowing
- The canvas type decides whether the theme header, footer and width apply.
- Most “full width is not full width” problems are here, not in the document.
- The edit-mode flag catches pages Elementor is not actually rendering.
- Read-only.
Related abilities
- Update Elementor Page Settings — change the layout
- Get Elementor Theme Context — the site-wide version
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category