section and everything up till
* * @package i-amaze * @since i-amaze 1.0 */ $top_phone = ''; $top_email = ''; $video_id = ''; $alt_navigation = 0; $top_phone = esc_attr(get_theme_mod('top_phone', '1-000-123-4567')); $top_email = sanitize_email(get_theme_mod('top_email', 'email@example.com')); $show_search = get_theme_mod('show_search', 1); $alt_front_nav = get_theme_mod('alt_menu', 0); $iamaze_logo_trans = get_theme_mod( 'logo-trans', '' ); $custom_logo_id = get_theme_mod( 'custom_logo' ); $custom_logo_image = wp_get_attachment_image_src( $custom_logo_id , 'full' ); $custom_logo_image = $custom_logo_image[0]; global $post; $no_page_header = 0; if ( function_exists( 'rwmb_meta' ) ) { if(rwmb_meta( 'iamaze_page_logo_normal' )) { $custom_logo_normal = rwmb_meta( 'iamaze_page_logo_normal', '' ); $custom_logo_image = $custom_logo_normal['full_url']; } if(rwmb_meta( 'iamaze_page_logo_trans' )) { $custom_logo_reverse = rwmb_meta( 'iamaze_page_logo_trans', '' ); $iamaze_logo_trans = $custom_logo_reverse['full_url']; } $alt_navigation = rwmb_meta('iamaze_alt_navigation'); $no_page_header = rwmb_meta('iamaze_no_page_header'); } if(has_header_video()) { $video_id = iamaze_get_video_id(esc_url(get_header_video_url())); } ?> > style="">

'; the_archive_title(); echo ''; } elseif ( is_search() ) { echo '

'; esc_attr(printf( __( 'Search Results for: %s', 'i-amaze' ), get_search_query() )); echo '

'; } else { if ( !empty($custom_title) ) { echo '

'.esc_html($custom_title).'

'; } else { echo '

'; the_title(); echo '

'; } } ?>