mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 16:44:24 +08:00
1.0.9 - dark theme styling option
This commit is contained in:
parent
0fce783884
commit
8d3c453222
10 changed files with 245 additions and 7 deletions
|
@ -200,6 +200,7 @@ if ( ! function_exists( 'boxstyle_styles' ) ) {
|
|||
function 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' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue