0){$ext = '|';} else {$ext = '';} $j++; $font_face = $ext.$font_face.':r,b,i'; $font_face_all = $font_face_all.$font_face; } } } if($font_face_all){ wp_enqueue_style('googlefont', "//fonts.googleapis.com/css?family=".$font_face_all); } // FontAwesome wp_enqueue_style( 'fontawesomecss', EVOLVEJS . '/fontawesome/css/font-awesome.css' ); // Main Stylesheet function evolve_styles() { global $wp_customize; wp_enqueue_style('maincss', get_stylesheet_uri(), false); if ( method_exists($wp_customize,'is_preview') and ! is_admin() ){ // Custom CSS for Customizer require_once( get_template_directory() . '/custom-css.php' ); wp_add_inline_style( 'maincss', $evolve_css_data ); } else { // Custom CSS for Live website wp_enqueue_style( 'dynamic-css', admin_url('admin-ajax.php').'?action=evolve_dynamic_css'); } } add_action( 'wp_enqueue_scripts', 'evolve_styles' ); // Bootstrap Elements wp_enqueue_script( 'bootstrap', EVOLVEJS . '/bootstrap/js/bootstrap.js' ); wp_enqueue_style( 'bootstrapcss', EVOLVEJS . '/bootstrap/css/bootstrap.css', array('maincss') ); wp_enqueue_style( 'bootstrapcsstheme', EVOLVEJS . '/bootstrap/css/bootstrap-theme.css', array('bootstrapcss') ); } /** * evolve_menu - adds css class to the