Customizer Reset

描述

Reset theme customizations made via WordPress Customizer in one click. Works with 99% of themes, including WPZOOM themes and popular themes like Divi, Astra.”

This plugin removes all theme modifications that are registered via Customizer API.

Works with all themes and plugins that use theme_mod settings type for storing modifications.

Please keep in mind that some themes uses different method to save customizer settings, let us know if this plugin isn’t compatible with your theme.

📌 What’s new in version **1.1**?

Get Involved

Looking to contribute code to this plugin? Go ahead and fork the repository over at GitHub.

屏幕截图

  • Reset along with Save button in WordPress Customizer panel.

常见问题

What type of customizer settings are reset?

Theme settings saved as theme_mod will be reset.

Why did the plugin not reset a particular setting?

  1. Setting is not registered correctly via Customizer API
  2. Setting is using option type for storing values

Is reset reversible?

No. Once you reset theme modifications you can not go back. You will need to redo all modifications from scratch.

Who built this plugin?

This handy plugin is brought to you by the team at WPZOOM.

https://www.wpzoom.com

评价

2020 年 4 月 12 日
Once installed, a “reset” button is added to the top of the customizer sidebar (to the left of the “save” button). Reliable plugin. Great convenience.
2018 年 6 月 9 日
Tried using it to reset Storefront theme but it did nothing. Perhaps it is not compatible with Storefront.
阅读所有15条评价

贡献者及开发者

“Customizer Reset” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Customizer Reset”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Add compatibility with Astra Theme

1.1.0

  • Refactor code to use PHP Namespaces
  • Add compatibility with Divi Theme Customizer settings
  • Add PHP Docblocks for all functions
  • Add automatic deploy to wordpress.org with GitHub Action
  • Add PHP matrix test with GitHub Action
  • Add CONTRIBUTING.md
  • Add LICENSE.md
  • Add README.md
  • Add support for WordPress Coding Standards
  • Add support for PHPstan
  • Add icon image 128 and 256 for wordpress.org
  • Add GitHub templates for bug, features, and questions
  • Add support for Composer

1.0.1

  • Minor cleanup

1.0

  • Initial Release