Update to Font Awesome 5 Free (5.9.0)

This commit is contained in:
Alexander Agnarson 2019-07-29 15:05:48 +02:00
parent 8041776597
commit a249c15710
39 changed files with 9007 additions and 5098 deletions

View file

@ -200,7 +200,7 @@ if ( ! function_exists( 'boxstyle_styles' ) ) {
wp_enqueue_style( 'boxstyle-style', get_stylesheet_uri() );
if ( get_theme_mod('responsive','on') =='on' ) { wp_enqueue_style( 'boxstyle-responsive', get_template_directory_uri().'/responsive.css' ); }
if ( get_theme_mod('dark','off') == 'on' ) { wp_enqueue_style( 'boxstyle-dark', get_template_directory_uri().'/dark.css' ); }
wp_enqueue_style( 'boxstyle-font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' );
wp_enqueue_style( 'boxstyle-font-awesome', get_template_directory_uri().'/fonts/all.min.css' );
}
}
@ -370,7 +370,7 @@ if ( ! function_exists( 'boxstyle_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 = '';