esc_html__( 'Main Menu', 'bizmax' ), ) ); // HTML5 markup add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'bizmax_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add support for core custom logo add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); // Gutenberg add_theme_support( 'gutenberg', array( 'wide-images' => true ) ); // Align wide add_theme_support( 'align-wide' ); // Block style add_theme_support( 'wp-block-styles' ); // Default color palette add_theme_support( 'editor-color-palette', array( array( 'name' => esc_html__( 'Deep Green', 'bizmax' ), 'slug' => 'green', 'color' => '#123417', ), array( 'name' => esc_html__( 'Medium Greeen', 'bizmax' ), 'slug' => 'medium-green', 'color' => '#124119', ), array( 'name' => esc_html__( 'Light Green', 'bizmax' ), 'slug' => 'light-green', 'color' => '#80b50d', ), ) ); // Editor style add_theme_support( 'editor-styles' ); // Editor style css add_editor_style( 'assets/css/theme-editor-style.css' ); } endif; add_action( 'after_setup_theme', 'bizmax_setup' ); //Set the content width in pixels, based on the theme's design and stylesheet. function bizmax_content_width() { //Default content width. $GLOBALS['content_width'] = apply_filters( 'bizmax_content_width', 1140 ); } add_action( 'after_setup_theme', 'bizmax_content_width', 0 );