mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Fix detection of logo for body class
This commit is contained in:
@@ -195,7 +195,7 @@ function trestle_body_classes( $classes ) {
|
||||
}
|
||||
|
||||
// Add logo class.
|
||||
if ( trestle_get_option( 'logo_url' ) || trestle_get_option( 'logo_url_mobile' ) ) {
|
||||
if ( trestle_get_option( 'logo_id' ) || trestle_get_option( 'logo_id_mobile' ) ) {
|
||||
$classes[] = 'has-logo';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user