esc_html__( 'Primary Navigation', 'bloglo' ), ) ); // Add theme support for Custom Logo. add_theme_support( 'custom-logo', apply_filters( 'bloglo_custom_logo_args', array( 'width' => 200, 'height' => 40, 'flex-height' => true, 'flex-width' => true, ) ) ); // Add theme support for Custom Background. add_theme_support( 'custom-background', apply_filters( 'bloglo_custom_background_args', array( 'default-color' => '#f0f2f5', 'default-size' => 'fit', ) ) ); // Add theme support for Custom Header Image. add_theme_support( 'custom-header', apply_filters( 'bloglo_custom_header_args', array( 'default-image' => '', 'width' => 1920, 'height' => 250, 'flex-height' => true, 'header-text' => false, ) ) ); // Enable HTML5 markup. add_theme_support( 'html5', array( 'search-form', 'gallery', 'caption', 'script', 'style', ) ); // Add Starter Content in Footer. add_theme_support( 'starter-content', array( 'widgets' => array( 'bloglo-footer-1' => array( 'search', ), 'bloglo-footer-2' => array( 'categories', ), 'bloglo-footer-3' => array( 'archives', ), 'bloglo-footer-4' => array( 'meta', ), ), ) ); // Add editor style. $bloglo_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; add_editor_style( 'assets/css/editor-style' . $bloglo_suffix . '.css' ); do_action( 'bloglo_after_setup_theme' ); } /** * Set the content width in pixels, based on the theme's design and stylesheet. * * @global int $content_width * @since 1.0.0 */ public function content_width() { global $content_width; if ( ! isset( $content_width ) ) { $content_width = apply_filters( 'bloglo_content_width', intval( bloglo_option( 'container_width' ) ) - 100 ); // phpcs:ignore } } } endif; /** * The function which returns the one Bloglo_Options instance. * * @since 1.0.0 * @return object */ function bloglo_theme_setup() { return Bloglo_Theme_Setup::instance(); } bloglo_theme_setup();