Can I use Claude Code to manage my WordPress site?
Yes. And depending on how far you want to go, it can either save you a few hundred dollars a month or fundamentally change how your website works.
If you are one of the millions of small business owners paying a freelancer or agency to make updates to your WordPress site, this post is for you. We are going to walk through three options, starting with the simplest and ending with the most transformative. Pick the level that matches your comfort and ambition.
Option 1: Use Claude as Your Content Manager
What this does: You write content in plain English. Claude formats it and publishes it directly to your existing WordPress site. Your theme, your plugins, your design. Nothing changes except who is making the updates.
What you need:
- A WordPress site with the REST API enabled (it is enabled by default on most modern WordPress installs)
- An application password for your WordPress admin account
- Claude Code installed on your computer
How to set it up:
Go to your WordPress admin panel. Navigate to Users, then your profile, then scroll down to Application Passwords. Create a new one and label it something like "Claude Code." Save the password it generates. You will not see it again.
Install the WP REST API Authentication plugin if your host does not already support application passwords natively. Most hosts running WordPress 5.6 or later support them out of the box.
Now open Claude Code and tell it about your site:
I have a WordPress site at https://mysite.com. My WordPress username
is admin and my application password is xxxx xxxx xxxx xxxx. I want
to publish a new blog post about [topic]. Format it to match the
style of my existing posts. Use H2 headers for sections. Add a
featured image placeholder. Set the category to [category name].
Publish it as a draft so I can review before it goes live.Claude Code will use the WordPress REST API to create the post, set the metadata, assign categories and tags, and format everything to match your existing site. You review the draft in WordPress, click publish, done.
What this replaces: The monthly retainer you are paying someone to make content updates. Blog posts, page edits, menu changes, metadata updates. Anything you can do in the WordPress admin, Claude can do through the API.
What this does not change: Your theme, your plugins, your hosting. Everything stays exactly as it is. This is the lowest-risk option. If you do not like it, just delete the application password and you are back to where you started.
Estimated setup time: 15 minutes.
Option 2: Use Claude Code to Manage Your Entire WordPress Installation
What this does: Claude Code manages your WordPress theme files, plugin configuration, database queries, and deployment workflow. Instead of logging into the WordPress admin panel and clicking around, you describe what you want and Claude writes the code, tests it, and deploys it.
What you need:
- SSH access to your WordPress server (or a local development environment)
- Claude Code installed
- Your WordPress files checked into a Git repository (if they are not already, Claude can help you set this up)
How it works:
This is a step up from Option 1. Instead of just using the REST API to push content, you are giving Claude Code access to the actual files that make up your WordPress site. That means it can edit your theme templates, modify your functions.php, create custom page templates, adjust your CSS, configure plugins, and manage your wp-config.php settings.
The workflow looks like this:
I want to redesign my homepage. The current layout has a slider at
the top that nobody clicks and a sidebar that is mostly empty. I
want a clean hero section with our value proposition, three service
cards below it, and a testimonial section at the bottom. Remove the
sidebar. Keep the existing header and footer.Claude Code will edit your theme’s template files, write the CSS, and if needed, create custom WordPress template parts. You review the changes locally, push to your staging environment, confirm it looks right, then push to production.
The key shift here: You are still on WordPress, but you are managing it like a developer would. Version control, staging environments, code review. The difference is that Claude is writing the code instead of a human developer, and you are directing the work in plain English instead of learning PHP.
What you should strip down: If you go this route, take the opportunity to simplify. Most WordPress sites are running 15 to 30 plugins, and half of them are either redundant, outdated, or solving problems that Claude can solve directly in code. Ask Claude to audit your plugin list and recommend which ones to keep, which to replace with custom code, and which to remove entirely. A lean WordPress install with five or six essential plugins is faster, more secure, and easier to maintain than one buried under a pile of third-party code.
What this replaces: Your web developer or agency. Not just for content updates, but for design changes, functionality additions, performance optimization, and security hardening. The whole engagement.
Estimated setup time: An afternoon for initial setup. A few days to get comfortable with the workflow.
Option 3: Use Claude Code to Migrate Off WordPress Entirely
What this does: Claude Code takes your existing WordPress site, content, design, and structure, and rebuilds it as a modern static site or application that you manage entirely through code and natural language prompts. No WordPress admin panel. No PHP. No database. No plugin updates. No security patches. Just files on a global CDN that load instantly.
Why you would do this:
WordPress powers a huge percentage of the web, and for many sites it is the right tool. But for a typical small business site with 5 to 20 pages, a blog, a contact form, and maybe a few interactive elements, WordPress is massive overkill. You are running a full PHP application with a MySQL database, a plugin ecosystem with constant security vulnerabilities, and a content management system designed for newspapers, just to show your business hours and publish a blog post once a month.
A modern static site does everything a small business needs at a fraction of the complexity:
- Pages load in under a second because they are pre-built HTML served from a global CDN
- There is no database to hack, no PHP to exploit, no plugins to patch
- Hosting is free or nearly free (Cloudflare Pages, Vercel, Netlify all have generous free tiers)
- Every change is tracked in version control, so you can undo anything instantly
- Claude Code can manage the entire thing, from design changes to new pages to blog posts, with a single prompt
How the migration works:
Tell Claude Code about your WordPress site and what you want:
I have a WordPress site at https://mysite.com. I want to migrate it
to a Next.js static site deployed on Cloudflare Pages. Keep the
same design, content, and URL structure. Export all blog posts. Set
up a contact form using Resend for email delivery. Make sure all
existing URLs redirect properly so I do not lose any search rankings.Claude Code will:
- Export your WordPress content using the REST API or a WXR export
- Analyze your current theme and recreate the design in modern CSS
- Convert your pages and posts to static components or markdown
- Set up a contact form with a serverless function backend
- Configure redirects so every old URL maps to its new location
- Deploy to a CDN with automatic HTTPS
After the migration, your workflow for managing the site is:
Add a new blog post about our spring promotion. Include a section
about the 20% discount on first-time services. Add a call to action
at the bottom linking to the contact page.Claude writes the post, formats it, commits it to your repository, and it is live on the internet in about 60 seconds. No logging into WordPress. No waiting for your developer. One prompt, done.
This is how we built arrowandbell.com. Every page, every blog post (including this one), every component was created by describing what we wanted in plain English to Claude Code. Our site loads in under a second, costs nothing to host, has zero security vulnerabilities, and can be updated by anyone who can type a sentence. We wrote a detailed guide about the process called Build and Deploy a Professional Website with AI if you want the full playbook.
What this replaces: WordPress itself. And your developer. And your hosting bill. And the anxiety of seeing "17 plugin updates available" every time you log in.
Estimated time: A few days for the migration, depending on site complexity. After that, site management takes minutes instead of hours.
Which Option Is Right for You?
Choose Option 1 if you like your current WordPress site and just want to stop paying someone to make content updates. Fastest path to saving money, lowest risk, easiest to reverse.
Choose Option 2 if you want to keep WordPress but take real control of how your site looks and works. Good for sites with complex functionality, ecommerce, or membership features that benefit from the WordPress plugin ecosystem.
Choose Option 3 if you have a relatively straightforward business site and you want the fastest, most secure, cheapest, and most maintainable option long term. This is the biggest lift upfront, but the ongoing benefits are significant.
All three options have something in common: they put you in control. You stop waiting on someone else to update your own website. You stop paying monthly retainers for work that takes an AI assistant five minutes. And you start thinking about your website as something you can change whenever you want, as easily as writing a text message.
Have questions about using Claude to manage your WordPress site? Email us at info@arrowandbell.com and we will walk you through it.