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.
Leave a Reply
You must be logged in to post a comment.
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
andregister_settings
.e.g.
grep -rnw 'wp-content/themes/' -e 'update_option'
to search from the command line.