esc_html__( 'Primary Menu', 'all-rounder' ), 'footer' => esc_html__( 'Footer Menu', 'all-rounder' ), ) ); add_theme_support( 'custom-background', array( 'default-color' => 'ffffff' ) ); $defaults = array( 'default-image' => get_template_directory_uri() .'/images/banner2.jpg', 'width' => 1400, 'height' => 500, 'uploads' => true, ); add_theme_support( 'custom-header', $defaults ); } endif; // all_rounder_setup add_action( 'after_setup_theme', 'all_rounder_setup' ); function all_rounder_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'all-rounder' ), 'description' => esc_html__( 'Appears on sidebar', 'all-rounder' ), 'id' => 'sidebar-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'all_rounder_widgets_init' ); if ( ! isset( $content_width ) ) $content_width = 900; add_action( 'admin_menu', 'all_rounder_pros'); function all_rounder_pros() { add_theme_page( esc_html__('Allrounder Details', 'all-rounder'), esc_html__('Allrounder Details', 'all-rounder'), 'edit_theme_options', 'all_rounder_pro', 'all_rounder_pro_details'); } function all_rounder_pro_details() { ?>