Vibe Code Your Own WordPress Plugin
Preparation for the 2-hour workshop at WordCamp Netherlands, Thursday 12 November 2026
In this workshop you build your own WordPress plugin with AI, and then check whether you would actually trust it. Two hours, no coding experience needed. What you do need is a working WordPress and an AI chat tool on the laptop you bring, and that is what this page is for. Plan about 15 minutes with Playground, or half an hour with LocalWP. Easiest if you do it at home beforehand. Didn't manage? No problem: at the start of the workshop you choose between Playground and LocalWP, and there are USB sticks with the LocalWP installer so the wifi doesn't have to carry it.
Step 1: Set up WordPress
You need a WordPress site where you can install and break plugins without consequences. Never use your real website for this. Pick one:
Option A: WordPress Playground (nothing to install)
Playground runs a complete WordPress inside your browser. The workshop link below also installs Plugin Check, the tool we use after the break to check your plugin.
- Open the workshop link: playground.wordpress.net/?plugin=plugin-check
- Wait until you see the Plugins screen. You're logged in as admin automatically.
- Check that Plugin Check (PCP) is in the list. If it says Activate under it, click that. Not in the list at all? Go to Plugins → Add Plugin, search for "Plugin Check", click Install Now, then Activate.
Usually takes under a minute
Option B: LocalWP (installed on your laptop)
LocalWP is a free program that runs WordPress on your own laptop. Choose it if you want to keep your work, want to try the Maintenance Mode idea (it doesn't work reliably in Playground), or already use it. It needs macOS 12 or newer, Windows 10 (64-bit) or 11, or a Debian-based Linux such as Ubuntu, and at least 4 GB of RAM.
- Download LocalWP from localwp.com
- Install the program
- Click "Create a new site"
- Choose a name (e.g. "workshop") and click through with the default settings
- Wait for the site to be created. On Windows, Windows Defender asks for permission a few times the first time: click Allow access each time.
- Click "WP Admin" to verify your WordPress dashboard opens
- Install Plugin Check: in WP Admin go to Plugins → Add Plugin, search for "Plugin Check", click Install Now, then Activate. You'll need it after the break.
Takes about 10 minutes (including download)
Step 2: Sign in to an AI tool (and pick a backup)
Any AI chatbot that can write code will do. Two things matter more than which one you pick:
- Sign in before the workshop, even if the tool lets you chat without an account. Chats without an account are often gone when you close the tab, and after the break you need the code from your first round.
- Have a second tool ready. Free plans have usage limits that most makers don't publish, and they can run out in the middle of the workshop. In round 2 you can also give the same prompt to both tools and compare.
| Tool | Made by | Account | Free plan |
|---|---|---|---|
| Vibe | Mistral, France. Called Le Chat until May 2026. | Free Mistral account | Yes, limits not published. Your chats are used to train Mistral's models unless you switch that off. |
| Lumo | Proton, Switzerland | Optional. Without one your chats aren't saved; a free Proton account keeps them for 7 days. | Yes, limited. Proton says it never trains on your chats. Not tested with this workshop yet. |
| Loes | HostYourAI, Groningen, Netherlands. Dutch-language, runs on servers in the EU. | Free Loes account (email, Google or Apple) | Yes, with a chat limit every few hours. HostYourAI says chats stay in the EU and are never used to train models. Not tested with this workshop yet. |
| ChatGPT | OpenAI, US | Free OpenAI account. Using it without one isn't available in the EU. | Yes, limits not published |
| Claude | Anthropic, US | Free Anthropic account (email or Google) | Yes. The usage limit resets every five hours. |
| Copilot | Microsoft, US | Optional. Signing in with a Microsoft account gives you chat history and longer conversations. | Yes, limits not published |
| Duck.ai | DuckDuckGo, US. Lets you choose between several models. | Not needed. Your recent chats are kept in your own browser only. | Yes, with a daily limit that isn't published. DuckDuckGo says chats are anonymised and not used to train models. Not tested with this workshop yet. |
| Gemini | Google, US | Google account | Yes, limits not published |
| Confer | Privacy-first, started by Signal co-founder Moxie Marlinspike | Passkey. On Windows or Linux you may need a password manager for that. | 20 messages a day. Too few as your only tool for this workshop; fine as a backup. |
Test it: does it give you code?
Paste this into the chat (English is fine, whatever language you usually use):
Write only the plugin header for a WordPress plugin called "WCNL Test". Reply with just the code, nothing else.
Plugin Name: WCNL Test in it, usually starting with <?php. Got an explanation around it? Fine, as long as the code is there. Got an error, a refusal or a "limit reached" message? Try your backup tool.
Step 3: Code editor (optional)
If you're using LocalWP, it helps to have a code editor. If you're using WordPress Playground, skip this step.
- VSCodium (free, open source): recommended. The same editor as Visual Studio Code, without Microsoft's tracking.
- Or use Notepad or TextEdit. That works too.
Step 4: Test that it worked (5 minutes)
This is exactly what you'll do with your own plugin in the workshop. If it works now, the hardest part of the setup is behind you. It works the same in Playground and LocalWP.
- Download the starter plugin: my-first-plugin.zip. Using Safari? It may unzip the file by itself. If you end up with a folder instead of a .zip, right-click the link and choose Download Linked File As, or use another browser.
- In WP Admin go to Plugins → Add Plugin and click Upload Plugin at the top. Choose the .zip, click Install Now, then Activate Plugin.
- Open the post Hello world! on your site: click your site name at the top left of WP Admin, choose Visit Site, then click the title "Hello world!".
Step 5: Know the basics (optional reading)
You don't need to know how to code, but it helps to understand this:
What is a WordPress plugin?
A plugin is a piece of extra functionality you add to WordPress. Technically, it's a folder with at least one PHP file in it, located in wp-content/plugins/.
What does a minimal plugin look like?
<?php
/**
* Plugin Name: My Plugin
* Description: This is a description.
* Version: 1.0.0
*/
// Here goes the code that does something
That's it. Those first lines (the "plugin header") tell WordPress this is a plugin. The rest is your code, or in our case: the code that AI writes for you.
How do you install a self-made plugin?
With LocalWP:
- Open your site's folder →
app/public/wp-content/plugins/ - Create a new folder (e.g.
my-plugin) - Put your PHP file in it
- Go to WP Admin → Plugins → Activate
With WordPress Playground:
- Copy the code from your AI chat
- Go to Tools → Plugin File Editor (with a classic theme it's under Plugins instead). In the dropdown at the top right, pick Hello Dolly. Not in the list? Some setups remove it; use My First Plugin from step 4 instead, but deactivate it on the Plugins screen first (WordPress may refuse to save changes to an active plugin). Replace all the code with yours and click Update File. Or save your code as a .zip and upload it as in step 4. The Guide walks you through both.
Prompt template
This is the template we'll use during the workshop. Feel free to look at it now:
Create a WordPress plugin with the following specifications:
Name: [name of your plugin]
Function: [describe in 1-2 sentences what the plugin should do]
Where visible: [on the frontend / in the admin / both]
Behavior: [describe specifically what should happen]
Technical requirements:
- Follow WordPress best practices (hooks, filters, sanitization)
- Include a plugin header with name, description and version
- Prevent direct file access
- Put all code in a single PHP file
- Add short comments explaining what each part does
Starter plugin
This is the starter plugin from step 4. It shows a message above every single post, and it's a tidy example of what a minimal plugin looks like: open the .php file inside the zip to read it.
Download starter plugin (.zip)
Ready to build?
- WordPress is running (the Playground link or LocalWP) and I can see the Plugins screen
- An AI chat is open in another tab
- The AI test prompt gave me code back
- The starter plugin test worked: I saw "This plugin works!" on the Hello world! post