<title><?php wp_title('|', true, 'right'); ?> </title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="Shortcut Icon" type="image/x-icon" href="<?php echo home_url(); ?> /favicon.ico" /> <?php //wp_head(); ?> <link rel="stylesheet" href="<?php echo yith_google_fonts_url(); ?> " type="text/css" /> <link rel="stylesheet" href="<?php echo $this->stylesheet_url(); ?> " type="text/css" /> <style type="text/css"> body { <?php echo implode("\n", $background_role); ?> }
public function enqueue_scripts() { if (get_option('yith_tcountdown_enable')) { wp_enqueue_style('yith-tcountdown', $this->stylesheet_url(), array(), $this->version); wp_enqueue_script('jquery-countdown', YITH_TCOUNTDOWN_URL . 'assets/js/jquery.countdown.js', array('jquery')); wp_enqueue_style('yith-tcountdown-google-fonts', yith_google_fonts_url(), false, $this->version); } }
/** * Add custom style to login screen * * @return void * @since 0.9.0 */ public function add_login_style() { $bg_color = get_option('yith_login_background_color'); $bg_image = get_option('yith_login_background_image'); $bg_repeat = get_option('yith_login_background_repeat'); $bg_position = get_option('yith_login_background_position'); $bg_attachment = get_option('yith_login_background_attachment'); $logo_img = get_option('yith_login_logo_image'); $logo_color = get_option('yith_login_logo_color'); $logo_width = get_option('yith_login_logo_width'); $logo_height = get_option('yith_login_logo_height'); $container_width = get_option('yith_login_container_width'); /* typography */ $typo_input_text = yit_typo_option_to_css(get_option('yith_login_typo_input')); $typo_general_text = yit_typo_option_to_css(get_option('yith_login_typo_text')); $typo_submit_text = yit_typo_option_to_css(get_option('yith_login_typo_submit')); $custom_style = get_option('yith_login_custom_style'); ?> <?php if (yith_google_fonts_url() != '') { ?> <link rel="stylesheet" media="all" href="<?php echo yith_google_fonts_url(); ?> " /><?php } ?> <style type="text/css"> <?php if ($bg_color || $bg_image) { ?> body.login, html { background: <?php echo $bg_color; ?> <?php if ($bg_image) { ?> url('<?php echo $bg_image; ?> ') <?php echo $bg_repeat; ?> <?php echo $bg_position; ?> <?php echo $bg_attachment; } ?> ; } <?php } ?> <?php if ($container_width) { ?> #login { width: <?php echo $container_width; ?> px; } <?php } ?> <?php if ($logo_img) { ?> .login h1 a { background-image: url('<?php echo $logo_img; ?> '); <?php if ($logo_color) { ?> background-color: <?php echo $logo_color; ?> ;<?php } ?> background-size: <?php echo $logo_width; ?> px <?php echo $logo_height; ?> px; width: 100%; height: <?php echo $logo_height; ?> px; max-width: 100%; } <?php } ?> .mobile #login h1 a { width: 100% } .mobile #login form, .mobile #login .message, .mobile #login_error { margin-left: auto } /* Typography */ .login form .input, .login input[type="text"] { <?php echo $typo_input_text; ?> background-color: <?php echo get_option('yith_login_color_input'); ?> ; border-color: <?php echo get_option('yith_login_border_input'); ?> ; } .login form .input:focus, .login input[type="text"]:focus { background-color: <?php echo get_option('yith_login_color_input_focus'); ?> ; border-color: <?php echo get_option('yith_login_border_input_focus'); ?> ; } .login form .forgetmenot label { <?php echo $typo_general_text; ?> } input#wp-submit { <?php echo $typo_submit_text; ?> background-color: <?php echo get_option('yith_login_submit_color'); ?> ; border-color: <?php echo get_option('yith_login_submit_border_color'); ?> ; } input#wp-submit:hover { color: <?php echo get_option('yith_login_typo_submit_hover'); ?> ; background-color: <?php echo get_option('yith_login_submit_color_hover'); ?> ; border-color: <?php echo get_option('yith_login_submit_border_color_hover'); ?> ; } <?php echo $custom_style; ?> </style> <!--[if lte IE 8]> <style type="text/css"> #rememberme { display: inline-block; } #rememberme + span { display: none } </style> <![endif]--> <?php }
<![endif]--> <!--[if !IE]> <html <?php language_attributes() ?>> <![endif]--> <!-- START HEAD --> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width" /> <title><?php wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="Shortcut Icon" type="image/x-icon" href="<?php echo home_url(); ?>/favicon.ico" /> <link rel="stylesheet" href="<?php echo YIT_THEME_ASSETS_URL . '/bootstrap/css/bootstrap.min.css' ?>" type="text/css" /> <link rel="stylesheet" href="<?php echo YIT_CORE_ASSETS_URL . '/css/font-awesome.min.css' ?>" type="text/css" /> <link rel="stylesheet" href="<?php echo yith_google_fonts_url() ?>" type="text/css" /> <link rel="stylesheet" href="<?php echo YIT_THEME_ASSETS_URL ?>/css/prelaunch/prelaunch.css" type="text/css" /> <style type="text/css"> body.prelaunch { <?php echo implode( "\n", $background_role ) ?> } #prelaunch.container{ background-color: <?php echo $wrapper_background ?>; } #prelaunch .logo .tagline { <?php echo $logo['tagline_font']; ?> }