0
I’m using a theme that has as default memas logo for header and footer, I wanted to change only the logo of footer,a down the current code referring to the footer logo.
<a class="brand pull-left" href="<?php
echo esc_url( home_url( '/' ) ); ?>">
<?php
$logo = get_theme_mod( 'bauhaus_logo_small' );
$logo_text = get_theme_mod( 'bauhaus_logo_text' );
$logo_name = get_theme_mod( 'bauhaus_logo_name' );
if ( isset( $logo{2} ) ) {
?>
<img alt="" src="<?php echo esc_url( $logo ); ?>">
<div class="brand-info">
<div class="brand-name"><?php if ( isset( $logo_name{0} ) ) {
echo wp_kses_post( $logo_name );
} ?></div>
<div class="brand-text"><?php if ( isset( $logo_text{0} ) ) {
echo wp_kses_post( $logo_text );
} ?></div>
</div>
<?php
Because within that CRS
<img alt="" src="<?php echo esc_url( $logo ); ?>">
you don’t put the path of your logo in the same kind of hand<img alt="" src="img/logo-footer.png">
?– hugocsl