I am a beginner both to WP themeing and to WP-framework, so I am sorry if this is a stupid question, but I cannot figure out the answers from reading the documentation or the code.
Is a theme options page built into wp-framework? How do I turn it on?
This page: http://wpframework.com/docs/theme-options-api/ suggest that I use something like this:
function custom_theme_options() {
framework_add_metabox( 'example-1', 'Example Metabox #1', 1 );
framework_add_metabox( 'example-2', 'Example Metabox #2', 2 );
framework_add_metabox( 'example-3', 'Example Metabox #3', 3 );
}
add_action( 'framework_hook_theme_options', 'custom_theme_options' );
but since framework_add_metabox is not a defined function anywhere, and framework_hook_theme_option does not appear to be an action that is used anywhere ... I don't really understand what I am supposed to do!
I've added an options page to a different theme before - by using mytheme_add_admin(), mytheme_admin(), and add_action('admin_menu', 'mytheme_add_admin'); to create the admin page. Is there a different way to do it with WP-Framework?
I would appreciate any suggestions on what I can read or look for to figure this out - I am really liking wpFramework so far, but this has me stumped!