WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Site Title overwriting Posts Page title (3 posts)

  1. mattman1983
    Member
    Posted 1 year ago #

    I've done a thorough search and can't find an answer to this problem. I'm trying to set up a blog as the Posts Page in my overall website. I've done the necessary steps of making my front page a static page, and have added a page called "Blog," with nothing written in it (as per instructions). The problem I'm having is that my Site Title (from Settings > General) is showing up in the title of my Blog. I've noticed that this happens regardless of what page I use as my Posts Page.

    So, instead of the title of my blog page being "Blog", it's "Computer Repair, Support and Training - Wilsonville, Newberg, Tigard, Lake Oswego Blog." If I change the Posts Page to my About Us page (as an experiment), it says "Computer Repair, Support and Training - Wilsonville, Newberg, Tigard, Lake Oswego About Us"

    Is there a solution to remove the Site Title from the title on my Posts Page?

    My website: corbettpc.com
    The Posts Page: corbettpc.com/blog

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    as you are using the 'All in One SEO Pack' plugin, the meta title is likely to get done by this plugin;

    double check the plugins settings;

    possibly post this under the plugins forum (scroll down on that page): http://wordpress.org/support/plugin/all-in-one-seo-pack

    ps:
    forget the above, if you are referring to the h1 title,
    this is done in index.php, using this line:

    wp_title('',true);

    possibly change this line to:

    if( is_home() && get_option('page_for_posts') ) echo get_page(get_option('page_for_posts'))->post_title; else wp_title('',true);
  3. mattman1983
    Member
    Posted 1 year ago #

    Beautiful. Thanks, alchymyth! I don't know exactly what that did, but it worked. Thank you. :)

Topic Closed

This topic has been closed to new replies.

About this Topic