Forums

[resolved] how to remove "Blog Archive " from page title? (3 posts)

  1. gallamine
    Member
    Posted 3 years ago #

    I have edited my header.php file so that the code below is used for the title, instead of the default.

    <title>
    <?php if ( is_home() ) { ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>
    <?php } else { ?><?php wp_title($sep = ''); ?> - <?php bloginfo('name'); ?>
    <?php } ?>
    </title>

    BUT, my posts still have the default "site name >> Blog Archives >> post title" format! Does anyone have any idea where that can be coming from? For an example, see my site at GoRobotics.net.

    I'm at a loss, I'd appreciate some help.

  2. Evita
    Member
    Posted 3 years ago #

    I don“t see BlogArchives in your titles. Clear your browser cache.

  3. gallamine
    Member
    Posted 3 years ago #

    Evita, the homepage is ok, but the single pages are wrong.

    Acutally, I discovered the problem - I wasn't editing the correct file because WP is looking into the wrong directory for my themes. See this post I just made. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic