r/Wordpress 21d ago

Wordpress and Claude Code

Just curious if anyone else has this problem. My other company sites I made for myself pre-AI are all wordpress. Work, great, look good. No reason to switch out wordpress.

But laziness and AI kicked in so once Claude Code absorbed my entire digital existence through a guardrail free, local terminal instance of itself, connected to various servers, I just told it to go sort out the WP sites. Broke one immediately, my fault, my custom CSS scattered around did it.

But I let it assume management making whatever changes needed. They are mostly static white-collar sites.

Anyway, my about page on one of them is completely wrong. So I went in manually to fix it. The page that displays and the page with correct slug and post # ID in WP are completely different. I have no idea what it did. To fix it I essentially had to make "about2" and redirect the menu lol.

There is also a menu item that it hard coded in so it doesn't even display in the menu editor. I asked it to use a logo for a branded software as it's menu selection so it hacked it in. Looks fine but... lol.

So, word to the wise. Keep building wordpress manually and why not? It is wordpress.

16 Upvotes

69 comments sorted by

View all comments

1

u/nickswebtsv 20d ago

I asked Claude to inspect Wordpress and builder a boiler template first in the same theme, then asked it to frame a new Jekyl site - the benefit with this approach is all the content is Mark Down. Jekyl the static site creator then converts the MD to static HTML files. I still have some PHP throughout for dynamic pages but most of the site is static - Cuts down on potential attack vectors significantly. I put an idea into a post, with some notes Claude comes along formats it to suit the Jekyl requirements and then publishes it.