WordPress.org

Ready to get started?Download WordPress

Forums

Blog Title Won't Appear in Browser Title Bar (12 posts)

  1. sophiawalker
    Member
    Posted 3 years 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.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try setting up a site title in Settings -> General.

  3. sophiawalker
    Member
    Posted 3 years ago #

    My blog title is already in there, so that's not going to do it.

    If only...

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Then you need to edit your theme's header.php template file and add <?php bloginfo('name'); ?> within the <title></title> tags.

  5. sophiawalker
    Member
    Posted 3 years 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]

  6. sophiawalker
    Member
    Posted 3 years ago #

    Sorry for some reason that posted twice....

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    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?

  8. sophiawalker
    Member
    Posted 3 years 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...

  9. sophiawalker
    Member
    Posted 3 years 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.

  10. jrav001
    Member
    Posted 3 years ago #

    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() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
  11. sophiawalker
    Member
    Posted 3 years ago #

    That did it, problem solved.

    Thanks very much!!!!!!

  12. tonitaylorinsurance
    Member
    Posted 2 years ago #

    Jrav001, I thank you too. Your solution worked perfectly. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic