250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'popular_blog_custom_background_args', array( 'default-color' => 'f7f8f9', 'default-image' => '', ) ) ); if ( ! function_exists( 'attractive_blog_setup' ) ) : function attractive_blog_setup() { /* * Make child theme available for translation. * Translations can be filed in the /languages/ directory. */ load_child_theme_textdomain( 'attractive-blog', get_stylesheet_directory() . '/languages' ); } endif; add_action( 'after_setup_theme', 'attractive_blog_setup' ); if ( ! function_exists( 'attractive_blog_enqueue_styles' ) ) : /** * Enqueue scripts and styles. */ function attractive_blog_enqueue_styles() { $parenthandle = 'popular-blog-style'; $theme = wp_get_theme(); wp_enqueue_style( $parenthandle, get_template_directory_uri() . '/style.css', array( 'popular-blog-fonts', 'popular-blog-slick-style', 'popular-blog-fontawesome-style', 'popular-blog-blocks-style', ), $theme->parent()->get( 'Version' ) ); wp_enqueue_style( 'attractive-blog-style', get_stylesheet_uri(), array( $parenthandle ), $theme->get( 'Version' ) ); } endif; add_action( 'wp_enqueue_scripts', 'attractive_blog_enqueue_styles' ); /** * Set up the WordPress core custom header feature. * * @uses attractive_blog_header_style() */ function attractive_blog_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'popular_blog_custom_header_args', array( 'default-image' => '', 'default-text-color' => '10a6cc', 'width' => 1000, 'height' => 250, 'flex-height' => true, 'wp-head-callback' => 'popular_blog_header_style', ) ) ); } add_action( 'after_setup_theme', 'attractive_blog_custom_header_setup' ); function attractive_blog_header_text_style() { ?>