esc_html__('Primary Menu', 'bajaar'), 'footermenu' => esc_html__('Footer Menu', 'bajaar'), ] ); // HTML5 markup support for search form, comment form, and comments add_theme_support('html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' )); add_theme_support( 'align-wide' ); add_theme_support( 'editor-styles' ); add_theme_support( 'wp-block-styles' ); add_theme_support( 'woocommerce' ); $GLOBALS['content_width'] = apply_filters( 'kyrill_content_width', 640 ); } add_action('after_setup_theme', 'bajaar_setup'); function bajaar_remove_devm_settings() { remove_submenu_page( 'themes.php', 'devm-settings' ); } add_action( 'admin_menu', 'bajaar_remove_devm_settings', 999 ); // include the init.php // ---------------------------------------------------------------------------------------- require_once( BAJAAR_CORE . '/init.php'); // WordPress default image size remove for temporary // ---------------------------------------------------------------------------------------- add_filter( 'intermediate_image_sizes_advanced', 'bajaar_remove_default_images' ); function bajaar_remove_default_images( $sizes ) { unset( $sizes['small']); unset( $sizes['medium']); unset( $sizes['large']); unset( $sizes['medium_large']); return $sizes; }