mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 16:44:24 +08:00
Update to Font Awesome 5 Free (5.9.0)
This commit is contained in:
parent
8041776597
commit
a249c15710
39 changed files with 9007 additions and 5098 deletions
|
@ -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 = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue