Divi (theme)
Source |
Commercial — baked from the licensed theme tarball |
Purpose |
Page-building theme (the pages are built with Divi) |
Special infra |
|
Divi here is a theme, not the standalone Divi Builder plugin — the Divi theme includes the builder, so the separate plugin is not used.
Install
Divi is not on wordpress.org. Its distribution is a tarball whose root is
wp-content/themes/Divi/; extract it into the themes directory in the build:
tar -xzf packages/divi-*.tar.gz --strip-components=2 -C web/app/themes wp-content/themes/Divi
Activate it in bootstrap with wp theme activate Divi.
|
Pin the Divi version to the one the site’s pages were built against, and confirm that version is clean on the image’s PHP version (lint the theme’s PHP at build time). An older Divi release may require dropping the base image a PHP minor version. |
Configuration
Divi writes generated/dynamic CSS to wp-content/et-cache. Mount it as an emptyDir:
- name: et-cache
mountPath: /var/www/html/web/app/et-cache # emptyDir
Regenerable, so emptyDir is correct. Divi’s media (library images, exported layouts) go to the
uploads PVC like any other media.
Licence
Divi’s licence (Elegant Themes account) gates theme updates and access to the Divi cloud, not whether the baked theme renders. Under the immutable model updates come from rebuilding the image with a newer tarball, so activating the licence in the admin is optional and only needed if you want cloud features.