> Customizer) // =============================== $favicon = bsd_get_theme_option( 'bsd_header_favicon', 'site_icon' ); // If customizer returned an attachment ID, get its URL if ( $favicon && is_numeric( $favicon ) ) { $favicon = wp_get_attachment_url( $favicon ); } if ( $favicon ) : ?> >
Customizer) // =============================== $header_logo = bsd_get_theme_option( 'bsd_header_logo', 'custom_logo' ); $logo_width = absint( bsd_get_theme_option( 'bsd_logo_width', '', 0 ) ); $logo_height = absint( bsd_get_theme_option( 'bsd_logo_height', '', 0 ) ); $logo_styles = array(); if ( $logo_width ) { $logo_styles[] = 'width:' . $logo_width . 'px'; $logo_styles[] = 'max-width:' . $logo_width . 'px'; } if ( $logo_height ) { $logo_styles[] = 'height:' . $logo_height . 'px'; $logo_styles[] = 'max-height:' . $logo_height . 'px'; } $logo_style_attr = $logo_styles ? ' style="' . esc_attr( implode( '; ', $logo_styles ) ) . '"' : ''; if ( $header_logo && is_numeric( $header_logo ) ) { $header_logo = wp_get_attachment_url( $header_logo ); } if ( $header_logo ) : ?> > Customizer) // =============================== $site_title = bsd_get_theme_option( 'bsd_site_title', 'blogname', get_bloginfo( 'name' ) ); ?>

Customizer) // =============================== $site_desc = bsd_get_theme_option( 'bsd_site_des', 'blogdescription', get_bloginfo( 'description', 'display' ) ); if ( $site_desc || is_customize_preview() ) : ?>