Update to Font Awesome 5 Free (5.9.0)

This commit is contained in:
Alexander Agnarson 2019-07-29 14:38:29 +02:00
parent bf0078aec9
commit b5bd7ed39e
36 changed files with 8996 additions and 5087 deletions

View file

@ -199,7 +199,7 @@ if ( ! function_exists( 'curver_styles' ) ) {
function curver_styles() {
wp_enqueue_style( 'curver-style', get_stylesheet_uri() );
if ( get_theme_mod('responsive','on') =='on' ) { wp_enqueue_style( 'curver-responsive', get_template_directory_uri().'/responsive.css' ); }
wp_enqueue_style( 'curver-font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' );
wp_enqueue_style( 'curver-font-awesome', get_template_directory_uri().'/fonts/all.min.css' );
}
}
@ -339,7 +339,7 @@ if ( ! function_exists( 'curver_social_links' ) ) {
if ( isset($item['social-target']) && !empty($item['social-target']) )
{ $target = 'target="_blank"'; } else $target = '';
if ( isset($item['social-icon']) && !empty($item['social-icon']) )
{ $icon = 'class="fa ' .esc_attr( $item['social-icon'] ). '"'; } else $icon = '';
{ $icon = 'class="fab ' .esc_attr( $item['social-icon'] ). '"'; } else $icon = '';
if ( isset($item['social-color']) && !empty($item['social-color']) )
{ $color = 'style="color: ' .esc_attr( $item['social-color'] ). ';"'; } else $color = '';