Home page header Title not Displaying?
-
Hello,
I have installed lingonberry theme. But the home page header title is not displaying.
-
Here is the URL https://yuvaz.com
Hi @mrkichu
I have tried this theme locally on my PC but it all worked fine for me.’
Have you edited any file of the main theme’s folder.
Or else you can give me header.php code.So that i can check what is going wrong in header part.Thank You!!!
Hi @mrkichu
I have tried this theme locally on my PC but it all worked fine for me.’
Have you edited any file of the main theme’s folder.
Or else you can give me header.php code.So that i can check what is going wrong in header part.Thank You!!!
<!DOCTYPE html> <html class="no-js" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" > <title><?php wp_title('|', true, 'right'); ?></title> <?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div class="navigation"> <div class="navigation-inner section-inner"> <ul class="blog-menu"> <?php if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s', 'theme_location' => 'primary', 'walker' => new lingonberry_nav_walker ) ); } else { wp_list_pages( array( 'container' => '', 'title_li' => '' )); } ?> <?php get_search_form(); ?> <div class="clear"></div> </div> <!-- /navigation-inner --> </div> <!-- /navigation --> <div class="header section"> <div class="header-inner section-inner"> <?php if (get_header_image() != '') : ?> <a>/" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> | <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home" class="logo"> <img src="<?php header_image(); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"> </a> <?php else : ?> <a>/" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> — <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home" class="logo noimg"></a> <?php endif; ?> <div class="nav-toggle"> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="clear"></div> </div> <div class="clear"></div> </div> <!-- /header section --> </div> <!-- /header-inner section-inner -->
Hi mrkichu
Copy and paste following code it seems your code has been modified.
<!DOCTYPE html> <html class="no-js" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" > <title><?php wp_title('|', true, 'right'); ?></title> <?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div class="navigation"> <div class="navigation-inner section-inner"> <ul class="blog-menu"> <?php if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s', 'theme_location' => 'primary', 'walker' => new lingonberry_nav_walker ) ); } else { wp_list_pages( array( 'container' => '', 'title_li' => '' )); } ?> </ul> <?php get_search_form(); ?> <div class="clear"></div> </div> <!-- /navigation-inner --> </div> <!-- /navigation --> <div class="header section"> <div class="header-inner section-inner"> <?php if (get_header_image() != '') : ?> <a href="<?php echo esc_url( home_url() ); ?>/" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> | <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home" class="logo"> <img src="<?php header_image(); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"> </a> <?php else : ?> <a href="<?php echo esc_url( home_url() ); ?>/" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> — <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home" class="logo noimg"></a> <?php endif; ?> <h1 class="blog-title"> <a href="<?php echo esc_url( home_url() ); ?>/" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> — <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home"><?php echo esc_attr( get_bloginfo( 'title' ) ); ?></a> </h1> <div class="nav-toggle"> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> <div class="clear"></div> </div> <div class="clear"></div> </div> <!-- /header section --> </div> <!-- /header-inner section-inner -->
Feel free to post if problem continues.
Thanks !!!
No Change ! The Line
`<h1 class=”blog-title”>
<a href=”<?php echo esc_url( home_url() ); ?>/” title=”<?php echo esc_attr( get_bloginfo( ‘title’ ) ); ?> — <?php echo esc_attr( get_bloginfo( ‘description’ ) ); ?>” rel=”home”><?php echo esc_attr( get_bloginfo( ‘title’ ) ); ?></a>
</h1>`
is for the logo Title Only.Hi mrkichu
I am sorry to inform you that line is for the title not the logo.
Try keeping those lines of code and see the change.Thank You!!!
Yes My friend, but still it is not working ?? From the beginning, installation of this theme title is not showing.
Hey mrkichu
I think your title is missing then.
Go to setting -> General Setting and write your Site Title and then Save Changes.Thanks
Theme is Updated ?? And now it is Perfect. Thank You!
- The topic ‘Home page header Title not Displaying?’ is closed to new replies.