get('Version'); $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; $parent_style = 'morenews-style'; wp_enqueue_style('bootstrap', get_template_directory_uri() . '/assets/bootstrap/css/bootstrap' . $min . '.css'); wp_enqueue_style($parent_style, get_template_directory_uri() . '/style.css'); wp_enqueue_style( 'blacknews', get_stylesheet_directory_uri() . '/style.css', array('bootstrap', $parent_style), wp_get_theme()->get('Version') ); // Enqueue RTL Styles if the site is in RTL mode if (is_rtl()) { wp_enqueue_style( 'morenews-rtl', get_template_directory_uri() . '/rtl.css', array($parent_style), $blacknews_version ); } } } // Set up the WordPress core custom background feature. add_theme_support('custom-background', apply_filters('morenews_custom_background_args', array( 'default-color' => 'f5f5f5', 'default-image' => '', ))); function blacknews_custom_header_setup($default_custom_header){ $default_custom_header['default-text-color'] = 'ffffff'; return $default_custom_header; } add_filter('morenews_custom_header_args', 'blacknews_custom_header_setup', 1); function blacknews_override_morenews_header_section() { remove_action('morenews_action_header_section', 'morenews_header_section', 40); } add_action('wp_loaded', 'blacknews_override_morenews_header_section'); function blacknews_header_section() { $morenews_header_layout = morenews_get_option('header_layout'); ?>