• I’m setting “front page displays: static page” and chose a page that I made..

    Now the blogname does not show at the top of my site anymore. Before this, the most recent post was on the frontpage and things were fine.

    This is the code that stayed unchanged:

    <a href="<?php echo get_settings('home'); ?>"><?php if(is_home() || is_search()) { bloginfo('name'); echo ''; } else { wp_title('') ;} ?></a>
    			<div class="description"><?php bloginfo('description'); ?></div>

    Can anyone tell me why the bloginfo name, or title disappears only on the homepage when I made the front page display change? All other “pages” and posts are still fine though.

    What should I change the code to?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try looking for the code that is setting the <title></title> in your theme’s header.php file.

    Thread Starter pack121

    (@pack121)

    I guess i mean the blogname or postname doesnt show in the header with those static page settings, not the “title” of the browser.

    Here it is anyway: <title><?php if(is_home() || is_search()) { bloginfo('name'); echo ''; bloginfo('description'); } else { wp_title('') ;} ?></title>

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get TITLE to show with static front page’ is closed to new replies.