Imagine that a person has a few premium themes that they use for clients. In those premium themes are many different options that can be set. Is it possible to set the theme's options to the most common and preferred choices and then export those options for later importation into other fresh WordPress installs with the same theme? That way one is not merely pointing and clicking their way through the various options over and over again for each new install.


The answer is theme depended and since most premium themes have their own framework/options panels then its going to be hard to tell where are the options are saved but in most cases they are saved in the options table in the database.

So the tricky part is to know what are the options names. You can look for them in the themes code either by searching for add_option , update_option and register_settings.

e.g. grep -rnw 'wp-content/themes/' -e 'update_option' to search from the command line.

  • Aha! Good to know! I'll pester my theme designer in that case. Is what I'm considering complete craziness or is it something that you've heard of being done before? – Wesley Aug 9 '11 at 21:02
  • Not crazy at all, some of the better themes have a setting export/import functions built in. – Bainternet Aug 9 '11 at 21:27
  • 1
    FYI, after talking with the theme designer, all options for the theme are stored in the wp_options table. – Wesley Aug 10 '11 at 0:35
  • For that specific theme. – Bainternet Aug 10 '11 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.