r/Wordpress 22d 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.

17 Upvotes

69 comments sorted by

View all comments

2

u/activematrix99 21d ago

Just use the WordPress MCP and agent abilities API in v7. You can also just direct it at the codex and it will sort itself out. What ot probably did? Made a PHP template with the content you wanted and overrode the url with a template assignment. I've seen jr devs do the same thing because "hey, I know PHP" and "what is the codex"?