'ffffff', 'default-image' => '', ))); # Add theme support for Custom Logo. add_theme_support( 'custom-logo', array( 'width' => 180, 'height' => 60, 'flex-width' => true, 'flex-height' => true, ) ); add_theme_support( 'post-thumbnails' ); /** * This variable is intended to be overruled from themes. * Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. * phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound */ $GLOBALS['content_width'] = apply_filters( 'bizart_content_width_setup', 640 ); /** * Register Menu */ register_nav_menus(array( 'primary' => esc_html__( 'Primary', 'bizart' ), 'social-menu-footer' => esc_html__( 'Footer social menu', 'bizart' ) )); load_theme_textdomain( 'bizart', get_theme_file_path( 'languages' ) ); # header options $args = array( 'default-text-color' => 'ffffff', 'width' => 1366, 'height' => 400, 'flex-height' => true, 'default-image' => '', ); add_theme_support( 'custom-header', apply_filters( 'bizart_custom_header_args' , $args )); add_post_type_support( 'page', 'excerpt' ); } add_action( 'after_setup_theme', 'bizart_theme_support' );