'FFFFFF', ) ); // https://codex.wordpress.org/Theme_Markup . add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // https://codex.wordpress.org/Post_Formats . add_theme_support( 'post-formats', array( 'aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat', ) ); // https://codex.wordpress.org/Custom_Headers . add_theme_support( 'custom-header', array( 'default-image' => '%s/assets/images/header.jpg', 'random-default' => false, 'width' => 1920, 'height' => 960, 'flex-height' => false, 'flex-width' => false, 'header-text' => false, 'uploads' => true, ) ); // https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#default-block-styles . add_theme_support( 'wp-block-styles' ); // https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#wide-alignment . add_theme_support( 'align-wide' ); // https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#responsive-embedded-content . add_theme_support( 'responsive-embeds' ); // Editor styles for TinyMCE and Gutenberg . // https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#editor-styles . add_theme_support( 'editor-styles' ); add_editor_style( 'style-editor.css' ); // https://codex.wordpress.org/Function_Reference/register_default_headers . register_default_headers( array( 'header_image_name' => array( 'url' => '%s/assets/images/header.jpg', 'thumbnail_url' => '%s/assets/images/header.jpg', 'description' => _x( 'Laptop', 'laptop', 'bidnis' ), ), ) ); // Navigation. register_nav_menus( array( 'header' => __( 'Header', 'bidnis' ), 'footer' => __( 'Footer', 'bidnis' ), ) ); } add_action( 'after_setup_theme', 'bidnis_setup' ); } // Actions. require_once get_template_directory() . '/inc/actions.php'; // Filters. require_once get_template_directory() . '/inc/filters.php'; // Theme specific functions. require_once get_template_directory() . '/inc/theme-functions.php';