WordPress.org

Ready to get started?Download WordPress

Forums

Minimatica
Minimatica - Making Header image-banner clickable (3 posts)

  1. goldenthaiyoga
    Member
    Posted 7 months ago #

    Hi there,

    I've found many results for this same topic, but these lead to many dead-links, original code to be replaced that doesn't look the same as my header.php document (wp-content/themes/minimatica-child/header.php), and I've many trial and errors before asking this question. So, sorry to ask it again...

    My new website is currently at http://www.goldenthaiyoga.com/new
    I'd like to make the banner clickable to take the visitor to Homepage.

    Below is the code as it appears in my header.php, and thank you for your help.

    ----------------

    wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    	<div id="wrapper" class="hfeed">
    
    <header id="header" role="banner">
    			<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    			<<?php echo $heading_tag; ?> id="site-title"><a href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></<?php echo $heading_tag; ?>>
    		</header><!-- #header -->

    [Moderator Note: No bumping, thank you.]

  2. goldenthaiyoga
    Member
    Posted 6 months ago #

    Update: website above is now (almost completed and) moved to URL http://www.goldenthaiyoga.com

    Any help with the banner-link-to-home would (still) be appreciated, thank you.

  3. KStone
    Member
    Posted 1 month ago #

    I would love some help on this issue as well. It's annoying to my readers not to be able to return to the homepage.

    Thanks for your help!

Reply

You must log in to post.

About this Theme

About this Topic