Here is the code in the Custom Header file
<div class="decode-custom-header-preview site-branding">
<?php if ( get_header_image() != '' ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img class="site-logo" src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="100%" alt="" />
</a>
<?php endif; ?>
<?php if ( get_theme_mod( 'show_site_title', true ) == true ) : ?>
<h1 class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
</h1>
<?php endif; ?>
Just in case, here is what I think to be the applicable code in the regular header file:
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php if ( get_theme_mod( 'favicon_image', '' )) { echo '<link rel="icon" href="' . esc_url( get_theme_mod( 'favicon_image', '' ) ) . '">'; } ?>
<?php if ( get_theme_mod( 'favicon_image', '' )) { echo '<link rel="apple-touch-icon-precomposed" href="' . esc_url( get_theme_mod( 'favicon_image', '' ) ) . '">'; } ?>
<?php tha_head_bottom(); ?>
<?php wp_head(); ?>
</head>
OK, I finally figured this out through trial and error. In the Header.php file (not custom header.php) I replaced this code:
<?php echo esc_url( home_url( '/' ) ); ?>
right under <?php if ( get_header_image() != '' ) : ?>
with this code:
http://YOURSITEADDRESSHERE.com
Be sure to replace everything inside the quotation marks, but leave the quotation marks!
Hi there
New member and I’m currently using this theme. I’ve got a problem where the Favicon for the site I started is the same as my ISPs and I can’t get rid of it.
I’ve uploaded a 16×16 favicon.ico file to the images section, and I’ve tried to edit the header.php – the code above – but no code I use seems to stop the ISP favicon from showing up.
Is there any coder out there able to help?