Created
May 15, 2020 14:21
-
-
Save aslamahamed13/e8e865e330f64b1d2ca074549173711d to your computer and use it in GitHub Desktop.
Vodi - Disable header logo link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function vodi_header_logo() { | |
?><div class="site-header__logo"><?php | |
if ( has_custom_logo() ) { | |
the_custom_logo(); | |
} elseif ( apply_filters( 'vodi_use_svg_logo', false ) ) { | |
?><div href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" class="navbar-brand"><?php vodi_get_template( 'global/logo-svg.php' ); ?></div><?php | |
} else { | |
?><div href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" class="navbar-brand"><h1 class="site-title"><?php bloginfo( 'name' ); ?></h1></div><?php | |
} | |
?></div><?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment