
Wordpress Elementor
Update Elementor-built WordPress pages using WP-CLI for low-risk text swaps or browser automation for layout and styling changes.
Overview
WordPress Elementor is an agent skill for the Build phase that edits Elementor pages via WP-CLI or browser automation based on change type and risk.
Install
npx skills add https://github.com/jezweb/claude-skills --skill wordpress-elementorWhat is this skill?
- WP-CLI commands to list Elementor pages and open the correct editor URL
- Risk matrix: WP-CLI for text/image meta vs browser for layout and widgets
- Prerequisite check for Elementor active via wp plugin status
- Documented post.php?post={ID}&action=elementor admin entry point
- Pairs with wordpress-setup for WP-CLI or admin access
- Editing method table covers 5 change types (text, images, styling, sections, layout)
Adoption & trust: 1.6k installs on skills.sh; 841 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need to change copy or layout on an Elementor page without corrupting builder JSON or guessing which tool is safe for the edit.
Who is it for?
Solo builders with WP-CLI or admin access who routinely tweak Elementor landing pages, templates, and widget content.
Skip if: Greenfield WordPress installs without Elementor, headless-only stacks, or sites where you lack wordpress-setup connectivity.
When should I use this skill?
User wants to edit an Elementor page, update widget text, manage templates, or make structural/content changes on Elementor-built pages.
What do I get? / Deliverables
You identify the target page, pick WP-CLI or browser automation from the risk table, and apply updates with a defined workflow after Elementor is verified active.
- Updated Elementor page content or template
- Documented page ID, editor URL, and method used for the change
Recommended Skills
Journey fit
Editing page builder content is part of building and iterating the marketing or product site surface, not initial idea research. Elementor is visual front-of-site work—listing builder pages, widgets, and sections maps directly to frontend content delivery.
How it compares
Structured Elementor edit workflow with method selection—not generic WordPress theme hacking or full site migration skills.
Common Questions / FAQ
Who is wordpress-elementor for?
Builders and marketers on WordPress sites using Elementor who want agent-guided CLI or browser edits instead of manual trial and error in the editor.
When should I use wordpress-elementor?
Use it during Build (and content iteration) whenever you must update Elementor widget text, images, templates, sections, or layout on an existing site.
Is wordpress-elementor safe to install?
Check the Security Audits panel on this Prism page; WP-CLI search-replace still requires backups, and browser steps need trusted admin sessions.
Workflow Chain
Requires first: wordpress setup
SKILL.md
READMESKILL.md - Wordpress Elementor
# WordPress Elementor Edit Elementor pages and manage templates on existing WordPress sites. Produces updated page content via browser automation (for visual/structural changes) or WP-CLI (for safe text replacements). ## Prerequisites - Working WP-CLI connection or admin access (use **wordpress-setup** skill) - Elementor installed and active: `wp @site plugin status elementor` ## Workflow ### Step 1: Identify the Page ```bash # List Elementor pages wp @site post list --post_type=page --meta_key=_elementor_edit_mode --meta_value=builder \ --fields=ID,post_title,post_name,post_status # Editor URL format: https://example.com/wp-admin/post.php?post={ID}&action=elementor ``` ### Step 2: Choose Editing Method | Change Type | Method | Risk | |-------------|--------|------| | Text content updates | WP-CLI search-replace | Low (with backup) | | Image URL swaps | WP-CLI meta update | Low (with backup) | | Widget styling | Browser automation | None | | Add/remove sections | Browser automation | None | | Layout changes | Browser automation | None | | Template application | Browser automation | None | **Rule of thumb**: If you're only changing text or URLs within existing widgets, WP-CLI is faster. For anything structural, use the visual editor via browser. ### Step 3a: Text Updates via WP-CLI **Always back up first**: ```bash wp @site post meta get {post_id} _elementor_data > /tmp/elementor-backup-{post_id}.json ``` **Pre-flight checklist**: 1. Back up the postmeta (above) 2. Dry run the replacement 3. Verify the dry run matches expectations (correct number of replacements) 4. Execute 5. Flush CSS cache 6. Verify visually **Simple text replacement**: ```bash # Dry run wp @site search-replace "Old Heading Text" "New Heading Text" wp_postmeta \ --include-columns=meta_value --dry-run --precise # Execute (after confirming dry run looks correct) wp @site search-replace "Old Heading Text" "New Heading Text" wp_postmeta \ --include-columns=meta_value --precise ``` **After updating**, clear Elementor's CSS cache: ```bash wp @site elementor flush-css ``` If the `elementor` WP-CLI command isn't available: ```bash wp @site option delete _elementor_global_css wp @site post meta delete-all _elementor_css ``` **What's safe to replace**: | Safe | Risky | |------|-------| | Headings text | HTML structure | | Paragraph text | Widget IDs | | Button text and URLs | Section/column settings | | Image URLs (same dimensions) | Layout properties | | Phone numbers, emails | CSS classes | | Addresses | Element ordering | ### Step 3b: Visual Editing via Browser Automation For structural changes, use browser automation to interact with Elementor's visual editor. **Login flow** (skip if already logged in via Chrome MCP): 1. Navigate to `https://example.com/wp-admin/` 2. Enter username and password 3. Click "Log In" 4. Wait for dashboard to load **Open the editor**: 1. Navigate to `https://example.com/wp-admin/post.php?post={ID}&action=elementor` 2. Wait for Elementor loading overlay to disappear (can take 5-10 seconds) 3. Editor is ready when the left sidebar shows widget panels **Edit text content**: 1. Click on the text element in the page preview (right panel) 2. The element becomes selected (blue border) 3. The left sidebar shows the element's settings 4. Under "Content" tab, edit the text in the editor field 5. Changes appear live in the preview 6. Click "Update" (green button, bottom left) or Ctrl+S **Edit heading**: 1. Click the heading in the preview 2. Left sidebar > Content tab > "Title"