• Hey guys,

    I’m trying to get my custom header image to link back to my default home page. I’m assuming it has to do with this chunk of text but I can’t get anything working, thanks!

    `<div id=”header”>
    <div>
    <?php if ( is_front_page() || is_archive() || is_category() || is_tag() ) { ?>
    <h1><a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h1>
    <?php } else { ?>
    <h2><a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h2>
    <?php } ?>
    <p id=”blog-description”><?php bloginfo( ‘description’ ); ?></p>
    </div>
    </div>`

    http://wordpress.org/extend/themes/elegant-grunge/

Viewing 1 replies (of 1 total)
  • helenbakker

    (@helenbakker)

    I tried everything myself, but it will not work. I am actually at a point where I am considering moving to a different theme.
    I had to use funny tricks to remove the top menu because it would not show what I want it to show, and now this.
    Sort of fed up, and no answer anywhere :(.

    Maybe you found a solution yet?

Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Elegant Grunge] Home Page Link When Clicking Banner’ is closed to new replies.