__( 'Primary Menu', 'bank-pro-top-neo' ), ) ); // Switch default core markup for search form, comment form, comments, galleries, and captions to output valid HTML5. add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'style', 'script', 'navigation-widgets', ) ); // Enable support for custom logo. add_theme_support( 'custom-logo', array( 'height' => 80, 'width' => 80, 'flex-width' => true, 'flex-height' => true, ) ); // Custom background support. add_theme_support( 'custom-background', apply_filters( 'bank_pro_top_neo_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Custom header support. add_theme_support( 'custom-header', apply_filters( 'bank_pro_top_neo_custom_header_args', array( 'width' => 1920, 'height' => 300, 'flex-width' => true, 'flex-height' => true, ) ) ); // Add support for core block visual styles. add_theme_support( 'wp-block-styles' ); // Add support for wide and full align images. add_theme_support( 'align-wide' ); // Responsive embeds. add_theme_support( 'responsive-embeds' ); // Add support for editor styles. add_theme_support( 'editor-styles' ); add_editor_style( 'editor-style.css' ); // Selective refresh for widgets in Customizer. add_theme_support( 'customize-selective-refresh-widgets' ); } endif; add_action( 'after_setup_theme', 'bank_pro_top_neo_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. */ function bank_pro_top_neo_content_width() { $GLOBALS['content_width'] = apply_filters( 'bank_pro_top_neo_content_width', 800 ); } add_action( 'after_setup_theme', 'bank_pro_top_neo_content_width', 0 ); /** * Register widget area. */ function bank_pro_top_neo_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar', 'bank-pro-top-neo' ), 'id' => 'sidebar-1', 'description' => __( 'Add widgets here to appear in your sidebar.', 'bank-pro-top-neo' ), 'before_widget' => '', 'before_title' => '