Support » Plugin: SEO Title Tag » Home page title not updated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Wolf Song

    (@poguet)

    RESOLVED. The WP theme I am using overrides the title for the home page in header.php. I modified this file in the child theme and now the title tags are working for the home page.

    If you are experiencing a similar problem, check your theme!

    How did you fix the problem? I cannot get the description tage to work at all. There is no description meta tag in my header.php.

    Thread Starter Wolf Song

    (@poguet)

    The header.php file for my theme (Maestro Fully-functional Business Instrument) contained this:
    <title>
    <?php if (is_home() || is_front_page()) {
    bloginfo(‘name’);
    } else {
    wp_title(”);
    }?>
    </title>

    So I created a child theme, copied header.php and changed the code to this:
    <title>
    <?php
    wp_title(”);
    ?>
    </title>

    You could switch themes temporarily and see if that fixes your problem. If it does, then your theme is overriding the description tag somewhere. If it doesn’t, then it’s not your theme.

    Thakks for your reply, but the problem I have is with the description meta tag. All I need is the correct code to have the SEO Title Tag plugin insert the description content. This is the code I have at the moment:

    <meta name=”description” content=”<?php bloginfo(‘description’); ?>” />

    Bythe way, the site contains Pages only.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Home page title not updated’ is closed to new replies.