PDA

View Full Version : Blog Title



buckangel
09-23-2009, 10:50 AM
Can anyone tell me how to keep the blog title in the browser header but not on my actual blog?

Thanks
Buck

RDude
09-23-2009, 11:13 AM
Hi Buck. It's nice to see around!

Depending on how your theme is set up, you can just add this element to your css file for the actual header text to be hidden, but still read by the engine bots.


#header h1 { display:none } That should do it. With the "#header h1" class itself depending on your particular theme.

I hope I answered your question correctly and this helps:cool:

buckangel
09-23-2009, 02:04 PM
Hey Bud!
Tha nks so much for taking the time to help me with that.
This is what my blog has for header:
<div class="Header">
<div class="Header-jpeg"></div>
<div class="logo">
<h1 id="name-text" class="logo-name">
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div id="slogan-text" class="logo-text">
<?php bloginfo('description'); ?></div>

Would I change where it says bloginfo

WOOF
Buck

RDude
09-23-2009, 02:24 PM
Hey Bud!
Tha nks so much for taking the time to help me with that.
This is what my blog has for header:
<div class="Header">
<div class="Header-jpeg"></div>
<div class="logo">
<h1 id="name-text" class="logo-name">
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div id="slogan-text" class="logo-text">
<?php bloginfo('description'); ?></div>

Would I change where it says bloginfo

WOOF
Buck

Hi Buck. You shouldn't change that at all actually. If you do, the search engines won't pick up your blog title. You don't want that! LOL. Just add display: none; in with your header class elements. As an example: (Your css probably looks slightly different, but you can get the idea from this):


#header h1{
color: #FFFFFF;
font-size: 24px;
font-weight: bold;
top: 100px;
left: 450px;
}


Now you want to add display: none; to that:


#header h1{
color: #FFFFFF;
font-size: 24px;
font-weight: bold;
top: 100px;
left: 450px;
display: none;
}


That should be all you have to do. Again, don't mess with the php or html in the header template. The search engines won't see your blog title.

I hope this helps;)

buckangel
09-23-2009, 03:12 PM
HA!! Oops. Thanks so much!!
WOOF
Buck

dirkpeddler
09-24-2009, 06:32 AM
If you mean the browser window header, use the <title></title> metatag in the header file.

RDude
09-24-2009, 08:34 AM
Can anyone tell me how to keep the blog title in the browser header but not on my actual blog?

Thanks
Buck



If you mean the browser window header, use the <title></title> metatag in the header file.

I'm pretty sure that's not what Buck meant. ;)

tigermom
09-29-2009, 02:07 AM
Up to Buck to clarify of course, but I read it the same way as dirk did. The browser header reads to me like the top of browser window. D

RDude
09-29-2009, 09:21 AM
If you remove the browser header from any web site, the search engines won't pick it up. I've done a fair amount of research on this. I went and looked at Buck's blog and he did not want the header text showing in his header, just at the top of the browser.

If Buck did not find my advice helpful, I would think he would have been back by now.

RDude
09-29-2009, 09:29 AM
Can anyone tell me how to keep the blog title in the browser header but not on my actual blog?

Thanks
Buck

I don't read this question at all like that. He wanted to keep the blog title in the browser, but not in his blog header.

If you remove the blog browser title from any web site, the search engines won't pick it up. I'm sure we're all aware of that. So why advise him to mess with the <title></title> tags?

If Buck did not find my advice helpful, I would think he would have been back by now. Keep in mind, I've built WP themes for a good amount of people in this biz and on this board. I think I have an idea about what I'm doing. At least, I had better! lol

tigermom
09-29-2009, 11:23 AM
Was not implying your advice wasn't good, just wondering about what it was he was asking about. Since he hasn't been back to the thread, I guess we keep on guessing ;) And for the record, I wouldn't advise anyone to lose the <title></title> tag.

RDude
09-29-2009, 11:27 AM
Was not implying your advice wasn't good, just wondering about what it was he was asking about. Since he hasn't been back to the thread, I guess we keep on guessing ;) And for the record, I wouldn't advise anyone to lose the <title></title> tag.

Sorry if I took it the wrong way. I had just woken up when I read the last few posts. It's all good. ;)

I hope I did help Buck. I like to help out when I can.

dirkpeddler
09-29-2009, 11:50 PM
I think most of us that take the time to reply to another webmaster's question, does it to help them out. I guess if he doesn't get back on this thread we will never know who's excellent advice actually answered his question :) And just FYI, I also would never remove the title meta tag.