'; echo ''; $liu = ''; if(isset($ascend['mobile_logo_switch']) && $ascend['mobile_logo_switch'] == '0') { if(isset($ascend['logo']['id']) && !empty($ascend['logo']['id'])) { if(isset($ascend['mobile_logo_width']) && !empty($ascend['mobile_logo_width'])) { $width = $ascend['mobile_logo_width']; } else { $width = 300; } $width = apply_filters('kadence_mobile_logo_width', $width); $alt = get_bloginfo('name'); echo ascend_get_image_output($width, null, false, 'ascend-mobile-logo', $alt, $ascend['logo']['id'], false, false, false); if(isset($ascend['trans_logo']['id']) && !empty($ascend['trans_logo']['id'])) { $img = ascend_get_image($width, null, false, 'ascend-trans-logo', $alt, $ascend['trans_logo']['id'], false); echo ''.esc_attr($img['alt']).''; } $liu = 'kad-logo-used'; } if(isset($ascend['site_title']) && $ascend['site_title'] == 1) { echo ''; echo apply_filters('kad_site_name', get_bloginfo('name')); if(isset($ascend['site_tagline']) && $ascend['site_tagline'] == 1) { echo ''; echo apply_filters('kad_site_tagline', get_bloginfo('description')); echo ''; } echo ''; } } else { if(isset($ascend['mobile_logo']['id']) && !empty($ascend['mobile_logo']['id'])) { if(isset($ascend['mobile_logo_width']) && !empty($ascend['mobile_logo_width'])) { $width = $ascend['mobile_logo_width']; } else { $width = 300; } $width = apply_filters('kadence_mobile_logo_width', $width); $alt = get_bloginfo('name'); echo ascend_get_image_output($width, null, false, 'ascend-mobile-logo', $alt, $ascend['mobile_logo']['id'], false, false, false); if(isset($ascend['trans_logo_mobile']['id']) && !empty($ascend['trans_logo_mobile']['id'])) { $img = ascend_get_image($width, null, false, 'ascend-mobile-trans-logo', $alt, $ascend['trans_logo_mobile']['id'], false); echo ''.esc_attr($img['alt']).''; } $liu = 'kad-logo-used'; } if(isset($ascend['mobile_site_title']) && $ascend['mobile_site_title'] == 1) { echo ''; echo apply_filters('kad_site_name', get_bloginfo('name')); if(isset($ascend['mobile_site_tagline']) && $ascend['mobile_site_tagline'] == 1) { echo ''; echo apply_filters('kad_site_tagline', get_bloginfo('description')); echo ''; } echo ''; } } echo ''; echo ''; } function ascend_the_custom_mobile_logo_decoy() { echo '
'; echo '
'; } function ascend_mobile_menu_ouput($side = 'right') { if (has_nav_menu('primary_navigation') || has_nav_menu('mobile_navigation')) : ?>