Get TITLE to show with static front page
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get TITLE to show with static front page’ is closed to new replies.