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

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.

Leave a Comment