Support » Everything else WordPress » Loose the “Blog Archive” in title?

  • hello,

    Does anyone know if is possible to get rid of the “Blog Archive” label that always comes up in search engine queries. I use wordpress for my sites but not all of them are Blogs.


Viewing 12 replies - 1 through 12 (of 12 total)
  • If you can pastebin your index.php and single.php I can tell you what to take out

    Or the header.php…

    Here’s my index file, below is my header file.

    /* Don’t remove these lines. */
    $blog = 1;
    <!– Start of StatCounter Code –>
    <script type=”text/javascript” language=”javascript”>
    var sc_project=1384183;
    var sc_invisible=1;
    var sc_partition=12;
    var sc_security=”9a54a201″;

    <script type=”text/javascript” language=”javascript” src=””></script><noscript><img src=”″ alt=”free web page counters” border=”0″> </noscript>
    <!– End of StatCounter Code –>

    <div id=”headerblock”>
    <!– headerblock –>

    <?php if (have_posts()) { while (have_posts()) { the_post(); ?>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>
    <?php the_title(); ?>
    <br> Date posted: <?php the_date_xml(); ?>

    <?php if (get_the_author() !== “Flashmagazine News”):
    echo ‘| ‘; sayfa_sayac(1, 0, 1, 1, 1, ‘d.m.Y – H:i’,” , ”,”, ”, ”);
    endif; ?>
    <br>Author: “><?php the_author(); ?></h2>

    <div class=”centreblock”

    <h3 class=”storytitle” id=”post-<?php the_ID(); ?>”><div align=”right”><?php if(function_exists(‘wp_print’)) { print_link(‘<img src=””> Print This Post’); } ?></div>
    <div class=”meta”>
    </div> <!– meta –>

    <div class=”storyContent”>
    <?php the_content(); ?><?php cjm_insert_catposts(“[postsincategory#5]”); ?>
    </div> <!– story content –>

    <div class=”storyLinks”>
    <div class=”feedback”>
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(‘[Comments (0)]’, ‘[Comments (1)]’, ‘[Comments (%)]’); ?> 

    </div> <!– storyLinks –>

    <?php trackback_rdf(); ?>

    <?php comments_template(); ?>
    </div> <!– centreblock –>

    <?php } } else { // end foreach, end if any posts
    <div class=”centreblock”>
    Sorry, no posts matched your criteria.

    </div> <!– centreblock –>
    <?php } // end else no posts

    <p class=”centerP”>
    <div align=”center”><?php wp_pagenavi(); ?></div><br>
    <div align=”center”>Copyright &copy 2006 Digital Landcaping</div>.


    <p class=”centerP”><?php echo $wpdb->num_queries; ?> queries. <?php echo number_format(timer_stop(),3); ?> seconds
    <?php do_action(‘wp_footer’); ?>

    <script type=”text/javascript”>
    global $userdata;
    if ($userdata) {
    echo “z_user_name=\”” . $userdata->display_name . “\”;\n”;
    echo “z_user_email=\”” . $userdata->user_email . “\”;\n”;
    z_post_title=”<?php the_title();?>”;
    z_post_category=”<?php $c=get_the_category();echo $c[0]->cat_name;?>”;
    <script id=”stats_script” type=”text/javascript” src=””></script>

    Header file:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”>
    <html xmlns=””>

    <head profile=”″>
    <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>


    ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>”

    if this is what you’re talking about, change it to

    rel=”bookmark” title=”<?php the_title(); ?>

    I guess we should always point out the best way to post ones code online…

    Anyway, here’s the part you want to edit in your header.php:

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> ยป Blog Archive <?php } ?> <?php wp_title(); ?></title>

    Whittle it down to:

    <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

    Wow, thanks a lot!

    This should be the default behaiviour in WordPress I reckon.

    By the way, is lose (see title of thread) the most widely misspelt word in the English language or what?

    As long as you note that ‘default’ here is relative. This is the way the default (Kubrick) theme is written to display the title, but it can easily be altered.

    RE: Loose

    Could behavio[u]r be close behind? ;)

    Kafkaesqui, you’re supposed to be the mod, and spank people who do that . . . unless it’s you looking for the spanking . . .

    Do what? I’m simply correcting something, an activity mods take up all the time…

    Could ‘behaviour’ be close behind?

    Haha, it could indeed! (always the way huh.)

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Loose the “Blog Archive” in title?’ is closed to new replies.