WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Title Bar Help (6 posts)

  1. bell8888
    Member
    Posted 6 years ago #

    I need to change the front page from saying the full URL to just what I have in my blog title and header, Music=Response. Even looking at the source code, the title clearly comes up the URL instead of anything else I've tried. All the other pages and links display the in the title bar correctly. Any ideas?
    Thanks.

  2. Len
    Member
    Posted 6 years ago #

    In the HEAD section of your document look between the <title></title> tags. Whatever is in there will appear in your browser's title bar. You probably want something like,

    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?>

  3. bell8888
    Member
    Posted 6 years ago #

    This is what is there now and it seems I can't alter it or it will change the appearance of the header itself (not the title bar):

    <title><?php bloginfo('name'); ?> <?php if ( is_404() ) : _e(' » ', 'sandbox'); _e('Not Found', 'sandbox'); elseif ( is_home() ) : _e(' » ', 'sandbox'); bloginfo('description'); else : wp_title(); endif; ?></title>

    Thanks for your help.

  4. bell8888
    Member
    Posted 6 years ago #

    Found out the cause, the SEO plugin I had going was overriding all the other code and it was the culprit that was causing the title bar to display incorrectly.

  5. jphang
    Member
    Posted 6 years ago #

    Hi bell8888,

    I think I am having the same problem. The title bar is not displaying correctly after I installed the SEO plugin. Is there any way to resolve it without deactivating this plugin?

    Looking forward to your advice.

    Sincerely,
    Jackson

  6. bell8888
    Member
    Posted 6 years ago #

    Hey jphang,

    The only thing element of the SEO plugin that I had to change was the first form field for the home title of the website. It defaulted to the http://themusicresponse.com format as opposed to what I wanted it to display which was Music=Response. None of the other formatting was wrong, but if you need more help let me know.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags