I'm trying out the Options Framework, and I've started hacking options.php.
I have reduced the amount of options, and one of the options left is an image upload.
I have gone into Theme Options, and uploaded an image (for the logo), but I cannot find mention of this anywhere in the database. If I search phpmyadmin for the option id, I find a result in the wp_posts table. The option ID turns up as the post title. I thought it should be in the wp_options table.
Here is options.php
Here is inc/options-framework.php
The theme I have integrated the Options Framework into is contained in a folder call RWWA. options.php contains:
$optionsframework_settings['id'] = $themename;
so, I was assuming that each individual options would be called RWWA_optionname.
However, I have since found there is an entry in wp_options called RWWA, and its value is
where logo_uploader is the id of the image upload option, and banner_image is the id of an image select option.
So it looks like each option is not being saved in the format of $themename_$optionname.
You can look at the code of Options Framework here.
I've tested using the whole Options Framework Theme Master, from which I used some components, and the theme master saves options in the same way, under a generic entry in wp_options called "options_framework_theme_master"
How do I reference a specific option in this format?