Since the title of this post is “Logo in Header” would it be appropriate to elaborate on how to do this exactly? I have been trying to change the code, but it is a little above me. In the header.php file, I am looking at this section of code. Can you please advise me on what to do to eliminate the site title and replace it with my logo image?
$navbar .= '<a class="navbar-brand" href="'
.esc_url( home_url( '/' ) )
.'" rel="home">'
.get_bloginfo( 'name' )
.'</a>';
$navbar .= '</div><!-- navbar-header -->';
In html, I would use this code to place my logo:
<a class="navbar-brand" rel="home" href="https://candtconstruction.com">
<img width="155" height="50" alt="CandTConstruction" src="https://candtconstruction.com/wp-content/themes/pratt/images/logo-50.gif"></a>
Thank you in advance for your time.