This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Changing Options on the Styles Menu

#1105
Jason Bobich
Keymaster

Hello,

The reason is because the current function alyeska_options that sets all of these options up in /includes/theme-functions.php, is hooked to after_setup_theme. So when you place your call to the themeblvd_edit_option in your Child theme’s functions.php, you’re not actually overriding anything because the body_style option hasn’t technically been created yet.

In your Child theme’s functions.php after the framework is included, you need to wrap your overrides like this in a function that’s hooked in later in the WordPress loading process:

function my_options(){
	// themeblvd_edit_option ...
}
add_action( 'after_setup_theme', 'my_options' );