I'm trying to create a website that is running two child themes of Duena (<https://wordpress.org/themes/duena>). The problem is that I am trying to set the colour scheme options for these themes to different values.

However, an issue arises because they both seem to share the same space on the database so when I modify the option of one, it affects the other. I've tried tinkering with the optionsframework\_option\_name() function in options.php; I copied it to both of the child themes and separately updated the $themename variable - this had no affect.

```
if(!function_exists('optionsframework_option_name')) {
    function optionsframework_option_name() {
        // This gets the theme name from the stylesheet (lowercase and without spaces)
        $themename = 'duena';

        $optionsframework_settings = get_option('optionsframework');
        $optionsframework_settings['id'] = $themename;
        update_option('optionsframework', $optionsframework_settings);

    }
}

```

I would assume the options.php files of the child themes are not overriding the file in the parent theme which caused my attempted solution to fail. I could be wrong entirely, of course, and if anybody has any ideas/thoughts on how I could achieve what I am trying to do, they are very welcome.