
If you’ve been building for the Divi ecosystem lately, you know the challenge. We are currently in a ‘dual-world’ phase. We have Divi 4, the reliable workhorse, and Divi 5, the lightning-fast, Gutenberg-compatible future currently in beta.
When I was updating my plugin, WP Rename Divi Projects – which lets users rebrand Divi’s ‘Projects’ custom post type into something more semantic like ‘Books’ or ‘Properties’ – I hit a challenge. I needed to ensure the code worked perfectly on both versions of Divi without constantly switching Git branches or, worse, manually copying files back and forth.
I wanted:
- One ‘single source of truth’ directory with my plugin code
- One Visual Studio Code window
- Two live WordPress sites
Here is how I set up a seamless Windows 11 development environment using a hidden gem of the filesystem: Junctions.
Continue reading Using Junctions for multi-environment WordPress development