sophiawalker
Member
Posted 1 year ago #
I am running a blog with the Clear Line theme, located here:
http://www.goddesssophiawalker.com/wordpress/
I cannot seem to get any browsers to show my blog title or the post titles in the browser title bar.
In other words, I'd like my browser's title bar to read:
Surviving Sophia Walker
But instead I only get the URL:
http://www.goddesssophiawalker.com/wordpress/
How do I fix it so my blog title actually shows in the browser title bar?
Thank you.
Try setting up a site title in Settings -> General.
sophiawalker
Member
Posted 1 year ago #
My blog title is already in there, so that's not going to do it.
If only...
Then you need to edit your theme's header.php template file and add <?php bloginfo('name'); ?> within the <title></title> tags.
sophiawalker
Member
Posted 1 year ago #
Thanks again, unfortunately that didn't work either. :(
I am pasting below the code in my header.php file, maybe that will help.
[Code moderated as per the Forum Rules. Please use the pastebin]
sophiawalker
Member
Posted 1 year ago #
Sorry for some reason that posted twice....
Have you tried:
- deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Ten theme to rule out any theme-specific problems?
sophiawalker
Member
Posted 1 year ago #
I will give deactivating the plugins a try.
I switched away from Twenty Ten to a different theme, don't want to go back to it...
sophiawalker
Member
Posted 1 year ago #
I deactivate all the plugins, it didn't help.
One thing I noticed though is that I have the TweetMeMe plugin, and that is no longer showing the name of the post on it either. It used to show the name of the post and the tweeted URL, now it just shows the URL.
So clearly something is happening in the code that is preventing the name of each post to be displayed any where.
I tried to contact the theme designers but of course I got no response from them.
I don't see a <title> tag in your header.
In header.php, add this somewhere between the <head> and </head> tags:
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
sophiawalker
Member
Posted 1 year ago #
That did it, problem solved.
Thanks very much!!!!!!
tonitaylorinsurance
Member
Posted 9 months ago #
Jrav001, I thank you too. Your solution worked perfectly. Thanks!