esc_html__( 'Primary Menu', 'bootswatch' ), ] ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', [ 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ] ); } ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ add_action( 'after_setup_theme', function() { $GLOBALS['content_width'] = ! is_active_sidebar( 'sidebar' ) ? 1140 : 750 ; }, 0 );