Using AI to create a flatpress theme

Ask questions about FlatPress themes, present your themes, request new themes.
Post Reply
macadoum
Posts: 6
Joined: Sat Jan 20, 2024 10:32 pm

Using AI to create a flatpress theme

Post by macadoum » Wed Apr 09, 2025 10:54 am

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

User avatar
Arvid
FlatPress Coder
Posts: 625
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Using AI to create a flatpress theme

Post by Arvid » Mon Aug 04, 2025 11:51 am

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

Panther
Posts: 74
Joined: Mon Aug 12, 2019 11:05 pm

Re: Using AI to create a flatpress theme

Post by Panther » Mon Aug 04, 2025 7:05 pm

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.

wjar
Posts: 10
Joined: Sun Jun 29, 2025 3:07 pm

Re: Using AI to create a flatpress theme

Post by wjar » Tue Aug 05, 2025 3:56 pm

Not a theme, but a plugin. The result was as expected: it didn't work :lol:

User avatar
fraenkiman
Posts: 368
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Using AI to create a flatpress theme

Post by fraenkiman » Sat Aug 23, 2025 4:29 pm

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
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest