This pyhton script allows a divi template file to be modified programmatically and create a new template file for each change as set out in the settings.json file.
How to use:
- Download files to a directory
- Replace the template.json file to match your requred temaplate.
- Open the settings file and change the values to match the content you need to change.
- Duplicate settings groups as many times as you need and change values to iterate.
- Edit modify_template.py to correspond the values in the settings.json file. Template title corresponds to the template name shown in the divi library.
- Make sure you have python installed and assigned to path.
- Open a CMD instance and run : python modify_template.py