Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter insohmniac

    (@insohmniac)

    Okay, This is a bigger coding section than I realized, and it begins on line 96 of the HEADER.PHP file, not 71 as I previously stated (different file, different problem, got confused). With all these IF and ELSE statements, I can’t seem to find the right combination to get the header image link to go away.

    Can anyone help me get this right? What do I need to remove or remark out of all this? It’s driving me crazy!

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    							<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    						</a>
    					<?php
    				}elseif ( is_page() ){
    					?>
    						<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    							<?php	the_post_thumbnail('header'); ?>
    						</a>
    					<?php
    				}
    			}else{
    				?>
    					<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    						<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    					</a>
    				<?php
    			}
    
    		} elseif ( is_page() ){
    			?>
    				<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    					<?php	the_post_thumbnail('header'); ?>
    				</a>

    Thanks for any wisdom!

Viewing 1 replies (of 1 total)