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( 'newsmore', 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), $newsmore_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 newsmore_override_morenews_header_section() { remove_action('morenews_action_header_section', 'morenews_header_section', 40); } add_action('wp_loaded', 'newsmore_override_morenews_header_section'); function newsmore_header_section() { $morenews_header_layout = morenews_get_option('header_layout'); ?>