'#eee', 'default-image' => get_stylesheet_directory_uri() . '/images/background-image.jpg', 'default-repeat' => 'no-repeat', 'default-position-x' => 'center', 'default-position-y' => 'center', 'default-size' => 'cover', 'default-attachment' => 'fixed', 'wp-head-callback' => '_custom_background_cb', // Callback function for rendering the custom background CSS in the head 'admin-head-callback' => '', // Callback function for rendering the custom background CSS in the admin panel head 'admin-preview-callback' => '' // Callback function for renderin ); add_theme_support( 'custom-background', $args ); //Load text domain for translation-ready load_theme_textdomain('blogfull', get_stylesheet_directory() . '/languages'); require( get_stylesheet_directory() . '/hooks/hook-header-four.php' ); require( get_stylesheet_directory() . '/hooks/hook-featured-slide.php' ); require( get_stylesheet_directory() . '/hooks/hook-front-page-ticker-section.php' ); require( get_stylesheet_directory() . '/frontpage-options.php' ); require( get_stylesheet_directory() . '/font.php' ); add_theme_support( 'title-tag' ); add_theme_support( 'automatic-feed-links' ); } add_action( 'after_setup_theme', 'blogfull_theme_setup' ); if (!function_exists('blogfull_get_block')) : /** * * * @since Blogfull 1.0.0 * */ function blogfull_get_block($block = 'grid', $section = 'post') { get_template_part('hooks/blocks/block-' . $section, $block); } endif; if ( ! function_exists( 'blogfull_blog_content' ) ) : function blogfull_blog_content() { $blogus_blog_content = get_theme_mod('blogus_blog_content','excerpt'); if ( 'excerpt' == $blogus_blog_content ){ $blogus_excerpt = blogus_the_excerpt( absint( 15 ) ); if ( !empty( $blogus_excerpt ) ) : echo wp_kses_post( wpautop( $blogus_excerpt ) ); endif; } else{ the_content( __('Read More','blogfull') ); } } endif; function blogeir_bg_image_wrapper(){ ?> esc_html__( 'Sidebar Widget Area', 'blogfull' ), 'id' => 'sidebar-1', 'description' => '', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area', 'blogfull' ), 'id' => 'footer_widget_area', 'description' => '', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'blogfull_widgets_init' );