Forums

Blog Archive added to page titles? (4 posts)

  1. jenniferhh
    Member
    Posted 2 years ago #

    I'm guessing this was implemented on the recent upgrade, because it's doing it at the top of the forum pages as well. But it's hellish to tweet an article, or repost somewhere, because the title ends up as "Daily Blender > Blog Archive > Title of Article Usually Cut Off Halfway Through".

    Is there some way to fix it on my end, or is it a WP thing? It's really ugly.

  2. doc4
    Member
    Posted 2 years ago #

    jenniferhh,

    This information is commonly placed in the <title> tag within the header.php file. Here is an example of what you will be looking for:

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

    Remove this section:
    <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?>

  3. jenniferhh
    Member
    Posted 2 years ago #

    Oh, bless your heart! Thanks Doc4! :)

  4. kirkmc
    Member
    Posted 2 years ago #

    Thanks for this. I was looking for a way to get rid of that stuff. It looks ugly in Google results, and truncates titles.

Topic Closed

This topic has been closed to new replies.

About this Topic