elegantthemes/d5-extension-example-modules — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a starter WordPress plugin for Divi that works as a clean example library for custom modules. I want it to include Divi 5 examples that show a simple static module, a dynamic module that pulls posts from WordPress, and a parent and child module pattern like an accordion with items.

Please make sure each module works in the Visual Builder and also renders correctly on the real page. Include sensible settings, styles, placeholder content, custom icons, and clean example code that someone could copy from later.

Also include a Divi 4 example module and show how it can be converted for Divi 5, plus one Divi 4 only module for comparison. Set up the normal install, start, build, test, and zip commands so I can develop it locally and package it for distribution.

Keep the project organized and documented enough that a developer learning Divi modules can use it as a reference. Look up the current Divi docs online if needed.

Want more depth? Deep Reverse