mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 16:44:24 +08:00
1.0.2
This commit is contained in:
parent
7860bc372f
commit
fd38e2d448
3 changed files with 6 additions and 2 deletions
|
@ -499,6 +499,7 @@ if ( ! function_exists( 'boxstyle_body_class' ) ) {
|
|||
if ( has_nav_menu( 'topbar' ) ) { $classes[] = 'topbar-enabled'; }
|
||||
if ( has_nav_menu( 'mobile' ) ) { $classes[] = 'mobile-menu'; }
|
||||
if ( get_theme_mod( 'mobile-sidebar-hide','on' ) != 'on' ) { $classes[] = 'mobile-sidebar-hide'; }
|
||||
if (! ( is_user_logged_in() ) ) { $classes[] = 'logged-out'; }
|
||||
return $classes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue