Where are a theme’s options stored and can I export them to be imported into freshly installed themes?

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.

Related posts

Leave a Reply

1 comment

  1. 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.