Forum Replies Created

Viewing 1 replies (of 1 total)
  • yammez

    (@yammez)

    If you want to get rid of the Theme Options page for Twenty Eleven you can use that code posted by Vayu and add this line:

    remove_action('admin_menu', 'twentyeleven_theme_options_add_page');

    So the whole thing:

    //Remove the custom options provided by the default twentyeleven theme.
    add_action( 'after_setup_theme','remove_twentyeleven_options', 100 );
    function remove_twentyeleven_options() {
    
    	remove_custom_background();
    	remove_custom_image_header();
    	remove_action('admin_menu', 'twentyeleven_theme_options_add_page');
    
    }
Viewing 1 replies (of 1 total)