Reset Divi Presets
A WordPress plugin which will easily reset all of your Divi 4 and Divi 5 element and options group presets
by Pavel Kolpakov · github.com/eduard-un/reset-divi-4-5-presets-and-option-group-presets
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/eduard-un/reset-divi-4-5-presets-and-option-group-presets/archive/refs/heads/main.zipAdds a convenient admin bar menu to quickly reset Divi 4 and Divi 5 global presets without leaving the page you are on.
Description
This plugin provides a simple and efficient way to clear Divi's 4 Element Presets as well as Divi 5 Element and Option Group Presets. After activation, a new menu item, "Reset Divi Presets," is added to the WordPress admin bar, visible to users with manage_options capabilities.
This menu contains three options:
- Reset Divi 4 Presets: Deletes the global presets associated with Divi 4.
- Reset Divi 5 Presets: Deletes the global presets associated with Divi 5.
- Reset Global Variables: Clears the
et_global_datafrom theet_divioption and deletes theet_divi_global_variablesoption from the database.
How It Works
The plugin is designed to be non-intrusive and easy to use:
- Works on Frontend and Backend: You can reset presets from anywhere on your site, whether you are in the WordPress admin area or viewing the live site.
- No Page Reloads: Clicking a reset option will not redirect you. You remain on the current page, allowing for a seamless workflow.
- Confirmation Dialog: To prevent accidental resets, a confirmation prompt will appear before any action is taken.
- Instant Feedback: A notice will appear confirming that the presets have been reset.
This tool is particularly useful for developers who need to clear out old or unwanted preset styles during site development or maintenance.