Set default color scheme & layout 2011
-
I’ve added a few extra color schemes and layouts to Twenty Eleven in a child theme. I want to set a color scheme and layout as default when the child theme is activated.
This is what I’m using// Set default color scheme and layout add_filter( 'twentyeleven_default_theme_options', 'my_default_options' ); function my_default_options( $options ) { $options['color_scheme'] = 'orange'; $options['layouts'] = 'narrow-content-left-sidebar'; return $options; }
But it doesn’t seem to work. Anyone have any idea what’s wrong with it? I can supply more info on the theme options I’m using if needed.
Thanks for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Set default color scheme & layout 2011’ is closed to new replies.