Support » Plugin: Options Framework » Could not find theme option settings page under Appearance

  • Hi there,

    After I installed the plugin. So then I wanna go to Plugin Settings page but I could not find it in admin. Can you help me?

    Thanks and Regards,
    Duy

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have to put options.php file in your theme’s main folder. Like this → https://www.screencast.com/t/okoE7De3w

    and when you are done with this then add this code in your theme’s functions.php →

    if ( !function_exists( 'of_get_option' ) ) {
    function of_get_option($name, $default = false) {
    
    	$optionsframework_settings = get_option('optionsframework');
    
    	// Gets the unique option id
    	$option_name = $optionsframework_settings['id'];
    
    	if ( get_option($option_name) ) {
    		$options = get_option($option_name);
    	}
    
    	if ( isset($options[$name]) ) {
    		return $options[$name];
    	} else {
    		return $default;
    	}
    }
    }

    Let me know if that works or not?

    Thread Starter duynguyen

    (@duynguyen)

    Hi @wpfighter

    Thank you very much! It works like a charm!

    You are welcome. It s released like a plugin, but in practice, it is a framework. Let me know if you need any help with the Framework settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Could not find theme option settings page under Appearance’ is closed to new replies.