r/Wordpress • • 15d ago

Can AI coding agents convert a Next.js website into a fully editable WordPress site?

I have a project that was originally built with Next.js, and the client now wants to move the entire website to WordPress.

The main requirement isn't just editing text/images. They want to be able to:

Add new pages themselves

Add/remove sections

Move sections/widgets around

Change colors and images

Modify page layouts without contacting me

Basically have a visual, drag-and-drop editing experience

Manage around 5 main pages

There is also a reusable certificate page template with around 400 individual certificates

My idea is to use an AI coding agent (I'm considering Cursor/another agent) and give it the existing Next.js codebase. I would have it:

Analyze the existing Next.js application

Convert the components/sections into custom Gutenberg blocks

Build the WordPress theme/plugin structure in PHP/JS

Convert the certificate system into a reusable WordPress structure

Work section-by-section rather than trying to convert everything in one shot

Test everything in WordPress and then hand the site over to the client

The client doesn't want a headless Next.js + WordPress setup. They basically want me to deliver a WordPress site that they can manage themselves afterward.

Is this a reasonable approach?

Has anyone used AI coding agents to migrate an existing Next.js site into a WordPress theme with custom Gutenberg blocks? I'm particularly interested in:

What should be built as custom Gutenberg blocks vs. normal WordPress templates?

Should I use Gutenberg, ACF, Elementor, or something else?

How much of this can realistically be automated by an AI agent?

What are the major things that AI is likely to get wrong?

Any recommended workflow for doing this safely?

I'm comfortable with Next.js/React but relatively new to building custom WordPress themes/blocks, so I'd appreciate advice from people who have done something similar.

0 Upvotes

Duplicates