WordPress · api · fg-0101
WordPress REST returns stripped content for Elementor pages
post_content lacks the HTML visible on the page
Verified 2026-09-15 · Confirmed by 0 builders · Trust 50/100
Cause
Elementor stores the real layout in post meta _elementor_data as a JSON string with escaped slashes. post_content is a stripped copy.
Fix
Read and write _elementor_data as an opaque string: back it up, make a targeted substring replacement on the exact stored form, validate that it still parses, and write it back. Then clear the Elementor and page caches.
Apply
GET /wp-json/wp/v2/pages/<id>?context=edit&_fields=id,meta (requires _elementor_data registered for REST); replace "url":"\/old\/" with "url":"\/new\/"
Affects: Elementor Pro, July to September 2026
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp