Validate Sticky Header Demo is a WordPress ability from Sticky Header Effects for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Validate Sticky Header Demo

Read-only
Sticky Header Effects for Elementor Page Builders sticky-header-effects/validate-demo

Check an Elementor post and report whether a sticky header is correctly configured, with any warnings.

Requires the Sticky Header Effects for Elementor plugin on WordPress 6.9+ for the Abilities API — the plugin's includes/abilities/class-she-abilities.php registers its abilities only when wp_register_ability() exists, and is a no-op on older cores. Each ability is additionally gated by a WordPress capability check: list-effects and validate-demo require edit_posts / edit_post on the target post, apply-settings requires edit_post on the target post, and create-demo requires both edit_theme_options and publish_posts. Abilities operate on Elementor templates/pages, so the target post must already contain Elementor data (_elementor_data) for apply-settings and validate-demo to act on it.

What it does

This read-only self-check inspects a given Elementor post and reports whether a sticky header is actually and correctly wired up: whether the sticky effect is enabled (is_sticky), which element it lives on (element_id), which specific effects are detected as configured (effects_detected), and any warnings about misconfiguration. It's designed to be called after apply-settings or create-demo to confirm the write actually took effect and produced a working sticky header, rather than trusting the write call blindly, or to audit an existing header template that was built manually in the editor.

See it in action

You ask your AI assistant

"Check whether post 128 actually has a working sticky header configured, and flag anything that looks wrong."

Inputs

Name Type Required Description
post_id integer Yes ID of the Elementor post/template to inspect.

Returns

An object with an is_sticky boolean, the element_id the sticky configuration was found on, an effects_detected array listing which effects are configured, and a warnings array flagging any issues.

Permission

Requires a non-zero post_id and the current user must have the edit_post capability for that specific post.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.