wordpress-elementor
БесплатноБез исполняемых скриптовНе проверенEdit Elementor pages and manage templates on WordPress sites via browser automation (for visual / structural changes) or WP-CLI (for safe text replacements)…
Об этом скилле
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
# 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:
wp @site post meta get {post_id} _elementor_data > /tmp/elementor-backup-{post_id}.json
Pre-flight checklist:
- Back up the postmeta (above)
- Dry run the replacement
- Verify the dry run matches expectations (correct number of replacements)
- Execute
- Flush CSS cache
- Verify visually
Simple text replacement:
# 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:
wp @site elementor flush-css
If the elementor WP-CLI command isn't available:
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):
- Navigate to
https://example.com/wp-admin/ - Enter username and password
- Click "Log In"
- Wait for dashboard to load
Open the editor:
- Navigate to
https://example.com/wp-admin/post.php?post={ID}&action=elementor - Wait for Elementor loading overlay to disappear (can take 5-10 seconds)
- Editor is ready when the left sidebar shows widget panels
Edit text content:
- Click on the text element in the page preview (right panel)
- The element becomes selected (blue border)
- The left sidebar shows the element's settings
- Under "Content" tab, edit the text in the editor field
- Changes appear live in the preview
- Click "Update" (green button, bottom left) or Ctrl+S
Edit heading:
- Click the heading in the preview
- Left sidebar > Content tab > "Title" field
- Edit the text
- Optionally adjust: HTML tag (H1-H6), alignment, link
- Save
Change image:
- Click the image widget in the preview
- Left sidebar > Content tab > click the image thumbnail
- Media Library opens
- Select new image or upload
- Click "Insert Media"
- Save
Edit button:
- Click the button in the preview
- Left sidebar > Content tab: Text (label), Link (URL), Icon (optional)
- Style tab: colours, typography, border, padding
- Save
Using playwright-cli:
playwright-cli -s=wp-editor open "https://example.com/wp-admin/"
# Login first, then navigate to Elementor editor
playwright-cli -s=wp-editor navigate "https://example.com/wp-admin/post.php?post={ID}&action=elementor"
Or Chrome MCP if using the user's logged-in session.
Step 4: Manage Templates
List saved templates:
wp @site post list --post_type=elementor_library --fields=ID,post_title,post_status
Export a template (browser):
- Navigate to:
https://example.com/wp-admin/edit.php?post_type=elementor_library - Hover over the template > "Export Template"
- Downloads as .json file
Import a template (browser):
- Navigate to:
https://example.com/wp-admin/edit.php?post_type=elementor_library - Click "Import Templates" at the top
- Choose file > upload .json
- Template appears in the library
Apply a template to a new page:
- Create the page: `wp @site post create
Установить wordpress-elementor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл wordpress-elementor?
Edit Elementor pages and manage templates on WordPress sites via browser automation (for visual / structural changes) or WP-CLI (for safe text replacements). Use whenever the user wants to edit an Elementor page, update text in Elementor widgets, apply or manage Elementor templates, or make content changes to pages built with the Elementor page builder.
Как установить скилл wordpress-elementor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wordpress-elementor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic