Support » Themes and Templates » Reset theme customizer defaults

  • If you have a set of color picker options defined in the theme customizer, it would be really handy to be able to reset them to the default color values (specified in the add_setting class method).

    Does anyone know of a way a button could be added to reset all theme customizer settings, or maybe on a section by section basis?

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi


    Forum Moderator

    I don’t think the Customizer is mature enough for this yet. At least I’ve not come across any such functionality. It might be worth posting this as a bug/feature request in Trac on the grounds that the Customizer should really offer the same functionality that’s available in Appearance -> Header.

    I can probably hack something together but wondered if there was a hook or something that I was missing that could be used to do this.

    Good idea about a trac ticket. Might give it a go.



    Forum Moderator

    To be perfectly honest, I’ve been working off Otto’s post on the Customizer. I’ve not had the chance to look through the core scripts myself.

    Yes me too. Otto gave a great introduction to using the theme customizer. Trouble is, it’s so good it makes me want to do more! 🙂

    Damn! I guess I started too early..I am using WP Theme customizer in a theme and after 2 days of customizing the WP Theme customized, now only realized that it does not have a reset button. Any work around for this, I cant go back now..

    Moderator Andrew Nevins


    As you’re not contributing to the original poster and the thread you’re replying to is considerably old, create your own thread on the issue.

    You will be pleased to know that a reset button is being added to WordPress 3.5. Check out the latest beta to play around with it.

    Here’s a screen shot of the new color picker:

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Reset theme customizer defaults’ is closed to new replies.