@import url(https://fonts.googleapis.com/css?family=" . $font_code . ":100,200,300,400,500,600);
body,
h1, h2, h3, h4, h5, h6,
p,
button, .button, .button.circle span,
input, textarea, select,
label, legend, blockquote,
.comments-area .comments .comment-list .comment .comment-body .comment-metadata span,
.comments-area .comments .comment-list .comment .comment-body .comment-metadata .edit-link:before,
section.blog .sidebar .widget-area .search-form .search-field,
section.blog .sidebar .widget-area ul a,
section.blog .sidebar .widget-area .tagcloud a,
section.contact .section-content a > p {
font-family: " . $font_main . ", sans-serif;
}";
echo $fonts;
}
}
endif;
add_action('wp_head', 'boden_theme_fonts');
/**
* Color customizations
*/
if ( ! function_exists( 'boden_theme_colors' ) ) :
function boden_theme_colors() {
/*$boden_color_accent_primary = get_theme_mod('boden_color_accent_main', '#8e7d6a');
$boden_color_accent_secondary = get_theme_mod('boden_color_accent_sub', '#b5a492');
$boden_color_accent_cumulative = get_theme_mod('boden_color_accent_third', '#e4e1dd');
$boden_color_accent_devider = get_theme_mod('boden_color_accent_fourth', '#c9beb1');
$boden_display_deviders = get_theme_mod('boden_display_deviders', 'true');
if($boden_color_accent_primary != "#8e7d6a") :
$css = '';
echo esc_attr( $css );
endif;
if($boden_color_accent_secondary != "#b5a492") :
$css = '';
echo esc_attr( $css );
endif;
if($boden_color_accent_cumulative != "#e4e1dd") :
$css = '';
echo esc_attr( $css );
endif;
if($boden_color_accent_devider != "#c9beb1") :
$color = str_replace("#", "", $boden_color_accent_devider);
$css = "";
echo esc_attr( $css );
endif;
if($boden_display_deviders != "true") :
$css = '';
echo esc_attr( $css );
endif;*/
}
endif;
add_action('wp_head', 'boden_theme_colors');
/**
* Boden Favicon and Apple icons
*/
if ( ! function_exists( 'boden_head_icon' ) ) :
function boden_head_icon() {
$boden_favicon = get_theme_mod('boden_favicon', '');
$boden_apple = get_theme_mod('boden_apple', '');
if( !empty($boden_favicon) ) echo '';
if( !empty($boden_apple) ) echo '';
}
endif;
add_action('wp_head', 'boden_head_icon');
?>