Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    I apologize in advance if this sounds like a stupid question, but I am pretty new to WP.

    Where exactly do you insert this code? This is what I have:

    <?php if ( get_theme_mod( 'business_logo', get_template_directory_uri() . '/images/logo.png' ) ) { ?>
    
    						<h1 id="logo">
    							<a>">
    								<img src="<?php echo esc_url( get_theme_mod( 'business_logo', get_template_directory_uri() . '/images/logo.png' ) ); ?>" alt=""/>
    								<span class="logo-text"><?php echo wp_kses_post( get_bloginfo( 'name' ) ); ?></span>
    							</a>
    						</h1>
    
    					<?php } else { ?>
    
    						<div id="site-title" class="<?php if (get_theme_mod('business_title_align', 'left') == 'center') { ?>text-center<?php } if (get_theme_mod('business_title_align') == 'left') { ?>align-left<?php } if (get_theme_mod('business_title_align') == 'right') { ?>align-right text-right<?php } ?>">

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been damaged by the forum’s parser.]

    I am guessing it should be inserted near the “a href”, but where exactly?

    Thank you so much!

    Gabriel

Viewing 1 replies (of 1 total)