Skip to content
All posts

Process

Creating Headless WordPress CMS with v0

By John Morton

Okay, this is admittedly some niche nerdy tech stuff, but maybe someone out there will find it useful.

Here’s the TL;DW:

Once upon a time I had a WordPress website. It was hosted at johneverettmorton.com.

WordPress is open source blogging software run by PHP. More broadly it is classified as a Content Management System (CMS).

More than a third of all websites on the internet are estitmated to be using WordPress in some capacity.

These days, I have a fancy new website. It is hosted at johnworksitout.com. Thanks for being here.

The new website is NOT run by PHP. It is a React web application running a Next.js node. If that sounds confusing, don’t feel bad. I barely know what that means myself.

I wanted the new website to somehow integrate the blog posts and blogging ability of the old website, but I didn’t want to building blogging software from scratch (even if AI did the heavy lifty) and I didn’t want to manually import old blog posts. So I chopped the head off the WordPress website, sewed on the head from the new React based web application, and told v0 to “make it so.”

It’s a little more nuanced than that. That’s why there’s a whole video. If you’re planning to do a headless WordPress CMS with a React front end and v0, this can help you get there. I realize that is a pretty specific configuration, but that’s what I have done and that’s what I know how to do.

Here’s the video.

Watching on YouTube will get you some nifty chapter links to skip around.

[00:00] Intro
[00:47] WordPress and why you might want it headless
[02:50] Vercel’s Instructions
[05:02] Giving v0 my prompt
[05:38] The initial results (90% done!)
[07:15] Fine tuning the results and “Featured Image” feature
[11:25] Hiding the WordPress backend from the world
[15:07] Conclusion

Here is Vercel’s guide to a headless WordPress installation: https://vercel.com/kb/guide/wordpress-with-vercel

If this helps you out with your headless configuration, you can always buy me a coffee.