esc_html__( 'Primary Menu', 'blog-up' ), ) ); // Switch default core markup to output valid HTML5. add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'style', 'script', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'blog_up_custom_background_args', array( 'default-color' => 'fff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add support for block styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); // Add support for core custom logo. add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); } add_action( 'after_setup_theme', 'blog_up_setup' ); /** * 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 * * @since 1.0.0 */ function blog_up_content_width() { $GLOBALS['content_width'] = apply_filters( 'blog_up_content_width', 640 ); } add_action( 'after_setup_theme', 'blog_up_content_width', 0 ); /** * Register widget areas. * * @since 1.0.0 */ function blog_up_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'blog-up' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here.', 'blog-up' ), 'before_widget' => '', 'before_title' => '