Page 1 of 1

Using AI to create a flatpress theme

Posted: Wed Apr 09, 2025 10:54 am
by macadoum
Hello all, I wonder if it is possible to build a flatpress theme using an AI tool like Bolt or Windsurf?

I have no idea how to build a custom theme using HTML tpl and CSS. It's a long time since I last touched a single line of code and I have no time for this. That's why I want to give AIs a try.

I already tried several AI tools to create a WordPress theme, but these things are fake AIs, I mean it's more marketing bs than anything else.

For now it seems that no AI is able to do a theme for a specific CMS, but maybe I could be wrong. This is why I'm asking here.

:D

Re: Using AI to create a flatpress theme

Posted: Mon Aug 04, 2025 11:51 am
by Arvid
Hi,

this is a really interesting topic, and I'm very curious if anyone has ever tried it.
Please let us know :)

All the best,
Arvid

Re: Using AI to create a flatpress theme

Posted: Mon Aug 04, 2025 7:05 pm
by Panther
Ci ho provato con chatgpt, mi crea 3 files (da copiare su un file di test e poi da trasferire sul server locale in una cartella tipo miotema), ma poi flatpress non riconosce che esiste quel tema grafico. E bisogna essere registrati a chatgpt perchè crei un file zippato. Inizialmente invece che in php, stava creando il tema in python.

Re: Using AI to create a flatpress theme

Posted: Tue Aug 05, 2025 3:56 pm
by wjar
Not a theme, but a plugin. The result was as expected: it didn't work :lol:

Re: Using AI to create a flatpress theme

Posted: Sat Aug 23, 2025 4:29 pm
by fraenkiman
Hello everyone,

Here are my experiences with (R)LLMs so far:
In general, (R)LLMs are more or less suitable for programming and design. I use different models for both professional and private purposes, depending on the requirements.

In my opinion, (R)LLMs are not yet capable of creating complete themes. (R)LLMs struggle to combine PHP, Smarty templates, CSS, and JavaScript correctly to create an attractive theme. In addition, some (R)LLMs have length restrictions/restrictions on the number of lines of code.

What you can try:
Pack all relevant files into a ZIP archive and ask the LLM to analyze them according to your wishes. It is important that the LLM understands how the theme or style is composed. This brings us to the next point, the prompt. Try to describe the current state to the LLM in a concise manner. Then express your change requests. Don't forget the requirements, e.g., compatibility with Smarty 5, HTML5, PHP 7.2 to 8.4. You can also use OpenAI's prompt generator.

You will still need to thoroughly check and test the supposed result. This takes more time than you might initially think. Depending on the LLM and prompt, there may be many hallucinations. Perform regression tests to check whether existing features still work. I use Selenium IDE for automated testing. Test in different browsers and devices.

Good luck and best regards,
Frank