wordpress-setup

Solid

Connect to a WordPress site via WP-CLI over SSH or REST API. Workflow: check CLI, test SSH connection, set up auth, verify access, save config. Use when connecting to a WordPress site, setting up WP-CLI access, creating application passwords, or troubleshooting WordPress connection issues.

AI & Automation 809 stars 82 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# WordPress Setup Connect to a WordPress site and verify working access via WP-CLI or REST API. Produces a verified connection config ready for content management and Elementor editing. ## Workflow ### Step 1: Check WP-CLI ```bash wp --version ``` If not installed, guide the user: ```bash # macOS/Linux curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp ``` Also ensure the SSH extension is available (needed for remote sites): ```bash wp package install wp-cli/ssh-command ``` ### Step 2: Connect to the Site **Option A: WP-CLI over SSH (preferred)** ```bash wp --ssh=user@hostname/path/to/wordpress option get siteurl ``` Common patterns: - Rocket.net: `wp --ssh=user@hostname/www/sitename/public option get siteurl` - cPanel: `wp --ssh=user@hostname/public_html option get siteurl` - Custom: Ask user for SSH user, host, and WordPress path Test with a simple command first: ```bash wp --ssh=user@host/path core version ``` **Option B: REST API with Application Password** If SSH isn't available: 1. Navigate to `https://example.com/wp-admin/profile.php` (or use browser automation) 2. Scroll to "Application Passwords" section 3. Enter a name (e.g. "Claude Code") and click "Add New Application Password" 4. Copy the generated password (spaces are part of it but optional in auth) Test the connection: ```bash curl -s https://example.com/wp-json/wp/v2/posts?per_page=1 \ -u "username:x...

Details

Author
jezweb
Repository
jezweb/claude-skills
Created
7 months ago
Last Updated
2 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

wordpress-content

Create and manage WordPress posts, pages, media, categories, and menus. Workflow: determine content type, choose method (WP-CLI or REST API), execute, verify. Use when creating blog posts, updating pages, uploading media, managing categories and tags, updating menus, or doing bulk content operations on WordPress sites.

809 Updated 2 weeks ago
jezweb
Data & Documents Solid

wordpress-elementor

Edit Elementor pages and manage templates on WordPress sites. Workflow: identify page, choose editing method (browser or WP-CLI), execute, verify. Use when editing Elementor pages, updating text in Elementor widgets, applying or managing Elementor templates, or making content changes to pages built with Elementor page builder.

809 Updated 2 weeks ago
jezweb
DevOps & Infrastructure Listed

wp-docker

Docker-based WordPress development environment. Use when setting up new WordPress sites, managing Docker containers, or automating site deployment with WP-CLI.

335 Updated today
aiskillstore
AI & Automation Listed

wp-wpcli-and-ops

Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.

335 Updated today
aiskillstore
Data & Documents Listed

wordpress-admin

Full WordPress site management - create pages/posts, configure SEO (Yoast), upload media, manage settings. Use when creating content, setting up SEO, or managing any WordPress site.

335 Updated today
aiskillstore