Layouts for Divi source code
By Techeshta, on WordPress.org since 2019. 1,000+ active installs.
Stop starting from scratch. Layouts for Divi gives you an ever-growing library of pixel-perfect, professionally designed page layouts built exclusively for the Divi Builder. Below is its source code for every one of its 3 releases, what changed in the latest one, and how often it ships.
What changed in 2.0
Released Sep 26, 2026, 3 weeks after 1.2.1- Fixed: Layout import/sync conflicts and error reporting.
- Fixed: Import failures, missing images, and temporary API outage handling.
- Security: Improved import permissions, image validation, and title sanitization.
- Improved: Faster layout imports by avoiding duplicate image downloads.
- Updated: WordPress 7.1.2 compatibility.
- Code: WordPress Coding Standards cleanup and documentation.
7 files changed since 1.2.1: 7 modified, 0 added, 0 removed.
- assets/js/admin.js modified, -311 bytes
- includes/api/class-layouts-remote.php modified, +2,547 bytes
- includes/class-layout-importer.php modified, -3,008 bytes
- includes/layouts.php modified, -2,040 bytes
- languages/layouts-for-divi.pot modified, +1,277 bytes
- layouts-for-divi.php modified, +1,206 bytes
- readme.txt modified, +424 bytes
Release history
3 releases since August 2026- 2.0 Sep 26, 2026 Fixed: Layout import/sync conflicts and error reporting.
- 1.2.1 Sep 2, 2026 Updated compatibility for WordPress 7.1.
- 1.2 Aug 24, 2026 Security: Removed unauthenticated AJAX access — handle_import and handle_sync now require a logged-in user