Test Code

>





/**
* This hook is important for wordpress plugins and other many things
*/
wp_head();
?>

>


if ( ample_option( 'ample_show_header_logo_text', 'text_only' ) == 'none' ) {
$header_extra_class = 'logo-disable';
} else {
$header_extra_class = '';
}
?>


 




<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>

if (function_exists('the_custom_logo') && has_custom_logo( $blog_id = 0 )) {
ample_the_custom_logo();
}?>

$screen_reader = '';
if ( ( ample_option( 'ample_show_header_logo_text', 'text_only' ) == 'logo_only' || ample_option( 'ample_show_header_logo_text', 'text_only' ) == 'none' ) ) {
$screen_reader = 'screen-reader-text';
}
?>


if ( is_front_page() || is_home() ) : ?>








$description = get_bloginfo( 'description', 'display' );
if ( $description || is_customize_preview() ) : ?>

 


?>





if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_class' => 'menu menu-primary-container'
)
);
}
else {
wp_page_menu();
}
?>







 

if( is_front_page() ) {
ample_featured_image_slider();
}
}
if( '' != ample_header_title() && !( is_front_page() ) ) {
?>