<?php /** * Displays header site branding * * @package WordPress * @subpackage Twenty_Seventeen * @since 1.0 * @version 1.0 */ ?> <div class="site-branding"> <div class="wrap"> <?php the_custom_logo(); ?> <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && ! has_nav_menu( 'top' ) ) : ?> <?php endif; ?> </div><!-- .wrap --> </div><!-- .site-branding -->