30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Evaluate Elementor Render Context

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

Abilityelementor/evaluate-render-context
ToolsetElementor — toolset/elementor
GroupElementor › Discovery & Guidance
RequiresElementor, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI 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

NameTypeRequiredWhat it is
post_idintegerYesThe post to inspect.

What comes back

NameTypeWhat it is
template_filestringThe template rendering the post.
canvas_typestringdefault, elementor_canvas or elementor_header_footer.
edit_modebooleanWhether Elementor is the editor for this post.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent 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


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading