Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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