Fixed custom logo error in header
This commit is contained in:
parent
1c06c9ecd9
commit
20208211a9
|
@ -47,7 +47,11 @@
|
|||
</button>
|
||||
|
||||
<!-- Your site title as branding in the menu -->
|
||||
<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php if ( !has_custom_logo() ) { bloginfo( 'name' ) } else { the_custom_logo() } ?></a>
|
||||
<?php if (!has_custom_logo()) { ?>
|
||||
<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
|
||||
<?php bloginfo( 'name' ); ?>
|
||||
</a>
|
||||
<?php } else { the_custom_logo(); } ?><!-- end custom logo -->
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -64,7 +68,6 @@
|
|||
); ?>
|
||||
|
||||
</div> <!-- .container -->
|
||||
|
||||
|
||||
</nav><!-- .site-navigation -->
|
||||
|
||||
|
|
Reference in New Issue