• 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 https://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.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minimatica – Making Header image-banner clickable’ is closed to new replies.