# How to Vibe Code a WordPress Site with Claude: A Beginner's Step-by-Step Guide

By Tania Ahmad, freelance Shopify & full-stack developer · Published 2026-11-18 · Updated 2026-11-18
Source: https://www.taniaahmad.site/blog/vibe-code-wordpress-site-with-claude

> **Quick answer:** There are two beginner-friendly ways to build a WordPress site with Claude. **Route A (no code):** on a paid WordPress.com plan, add the official **WordPress.com connector** in Claude and ask it to create and edit your pages, posts and media in plain English. You approve every change. **Route B (custom design):** create a free local site in **WordPress Studio**, then use **Claude Code** (paid Claude plan) to build a custom block theme, review it locally and upload it to your host.

"Vibe coding" means describing what you want in plain English and letting an AI write the code, while you review the result and steer. It works surprisingly well for WordPress, as long as you pick the right setup and keep a human eye on what goes live. Here is exactly how I would do it as a beginner, with the prompts I'd use.

## What you need before you start

- **A Claude account.** The [free Claude plan](https://claude.ai/) is enough for planning, copywriting and chatting through ideas. **Claude Code** (used in Route B) needs a paid plan. Pro is $20 a month billed monthly, or $17 a month billed yearly, at the time of writing.

- **A WordPress site.** Either a paid [WordPress.com plan](https://wordpress.com/pricing/) (for Route A), or any normal host such as [Hostinger](https://www.hostinger.com/wordpress-hosting) for a self-hosted site (for Route B).

- **Your content:** logo, a few real photos, your services, prices (if you show them), contact details and 2–3 reviews. AI can write the words, but it can't invent your proof.

## Route A: build it with the WordPress.com connector (no code)

WordPress.com has an official connector for Claude. Once it's connected, Claude can find and draft posts, update pages, upload media, manage categories and tags, review comments and check stats, all from a chat. It describes what it is about to do and **asks you to confirm each change**, and new posts are saved as drafts by default.

- **Get a paid WordPress.com plan.** The connector works on paid WordPress.com plans (and Jetpack-connected sites with Jetpack AI or Complete).

- **Add the connector in Claude.** Open Claude, go to the connectors directory, find WordPress.com, click Add and sign in with your WordPress.com account.

- **Turn on write access.** In your WordPress.com account, open the MCP settings at `wordpress.com/me/mcp` and switch on the operations you want Claude to be allowed to do on that site (for example creating pages).

- **Pick a theme first.** Choose a clean block theme in WordPress.com yourself. The connector is great at content; the overall design still comes from your theme.

- **Ask for your pages, one at a time.** Start with Home, then Services, About and Contact. Read each draft before you approve or publish it.

Good to know: the connector edits **content** (posts, pages, media, comments, categories and tags). It is not designed to write a custom theme or plugin for you. For a fully custom design, use Route B.

### Prompt to copy (Route A)

```
I run [business type] in [city]. Using my WordPress.com site [site address], create a draft Home page with:
1. A headline that says what I do and where, plus one supporting line
2. Three service blocks: [service 1], [service 2], [service 3]
3. A short "why choose us" section using these facts: [your real facts]
4. One clear button: "Get a free quote" linking to /contact
Use simple, friendly British English. Do not invent reviews, numbers or awards. Show me the plan before you create anything.
```

## Route B: vibe code a custom theme with Claude Code and WordPress Studio

This is closer to how I build client sites: a custom theme that loads fast and looks exactly how you want, built and tested on your own computer first.

### Step 1: create a local WordPress site with WordPress Studio

[WordPress Studio](https://developer.wordpress.com/studio/) is a free, open-source app from WordPress.com for running WordPress on your computer (macOS, Windows and Linux). Install it, click to add a new site, and you have a working WordPress install in about a minute. Nothing you do here affects a live website.

### Step 2: install Claude Code

Claude Code is Anthropic's coding agent that works inside a folder on your computer. Install it with the official command:

- **macOS / Linux:** `curl -fsSL https://claude.ai/install.sh | bash`

- **Windows (PowerShell):** `irm https://claude.ai/install.ps1 | iex` (Git for Windows is recommended)

Then open a terminal in your site's theme folder (`wp-content/themes` inside your Studio site), run `claude` and log in with your paid Claude account. My [Claude Code beginner's guide](https://www.taniaahmad.site/blog/claude-code-beginners-guide) walks through this in more detail.

### Step 3: ask Claude Code to build a block theme

```
Create a WordPress block theme called "[brand]-theme" in this folder.
Brand: [colours as hex], fonts: [font names], style: [e.g. clean, warm, premium].
Include: theme.json with my colours and fonts, header and footer template parts, templates for home, page, single and 404, and block patterns for: hero, 3 services, reviews, FAQ and a contact call to action.
Keep it fast: no page builders, no jQuery, system font fallback, images lazy-loaded below the fold.
Explain each file you create in one sentence.
```

Activate the theme under Appearance → Themes in your Studio site and look at it in the browser. Then keep refining in plain English: "make the hero taller on desktop", "use a 2-column layout for services on tablets", "the footer text is too small on mobile".

### Step 4: add your real content

Build your pages in the block editor using the patterns Claude made. Ask Claude (in the normal chat) to help with page copy, and paste in your own facts.

### Step 5: put it live

- **WordPress.com or Pressable:** Studio can sync your local site to a paid WordPress.com plan or Pressable.

- **Any other host** (for example [Hostinger](https://www.hostinger.com/wordpress-hosting)): install WordPress on the host, zip your theme folder and upload it under Appearance → Themes → Add New Theme → Upload Theme. Then recreate or import your pages.

## Before you publish: a 10-minute checklist

- Every page works on a phone (check on your actual phone, not just a resized browser).

- Your headline says what you do and where, in plain words.

- Contact form sends to the right inbox. Test it.

- No invented reviews, numbers or awards. AI sometimes adds them; delete them.

- Speed: run your home page through [PageSpeed Insights](https://pagespeed.web.dev/).

- Privacy policy and, in the UK/EU, a cookie notice if you use tracking.

- Backups are on, and you keep plugins and WordPress updated.

- You never pasted passwords or API keys into a chat.

For what the finished site should contain, see my [7-point service website checklist](https://www.taniaahmad.site/blog/service-business-website-checklist).

## Where vibe coding stops being enough

Vibe coding is brilliant for a brochure site, a landing page or a first version. I'd bring in a developer when you need bookings or payments, a members area, custom integrations (CRM, WhatsApp, booking systems), multiple languages, or when the site has to rank in a competitive local market. That's where small mistakes in structure, security and speed get expensive.

  Want the custom version, without the learning curve?

  I build fast, custom WordPress sites for businesses in the UK, US, Canada and France, like this [renovation company site in Paris](https://www.taniaahmad.site/work/expert-plomberie-vitry). Fixed quote, weekly updates.

  [See WordPress services](https://www.taniaahmad.site/wordpress-developer)

## FAQ

**Can I vibe code a WordPress site for free?**
Partly. The free Claude plan is enough for planning and writing copy, and WordPress Studio is free for building locally. Claude Code needs a paid Claude plan, and the WordPress.com connector works with paid WordPress.com plans. A live self-hosted site also needs hosting and a domain.

**Does Claude change my live site without asking?**
With the WordPress.com connector, Claude describes each change and asks you to confirm it, and new posts start as drafts. With Claude Code you build locally first, so nothing reaches your live site until you upload it.

**Should I use WordPress.com or self-hosted WordPress?**
WordPress.com is simpler and works with the Claude connector, so it suits beginners. Self-hosted WordPress gives you full control over themes and plugins, which suits custom builds. Both can look professional.

**Is AI-written code safe for a business website?**
It can be, but treat it like code from a junior developer: review it, test it, keep WordPress and plugins updated and keep backups. For anything that handles payments or personal data, get a developer to review it.

## Sources

- [WordPress.com connector for Claude](https://claude.com/connectors/wordpress-com)
- [WordPress.com MCP write capabilities (The Next Web)](https://thenextweb.com/news/wordpress-com-mcp-write-capabilities-ai-agent)
- [WordPress Studio](https://developer.wordpress.com/studio/)
- [Claude Code setup (Anthropic docs)](https://code.claude.com/docs/en/setup)
- [Claude plans and pricing](https://claude.com/pricing)
