• Resolved miri

    (@miri)


    Any idea why my title attribute on single posts is showing up as:
    ” Post titleSite Name” – with a space before the post title and no space before the site name? I am using a child theme, but my call to the wp_title function in my header only differs in that I take the separate out:
    <title><?php wp_title(''); ?></title>

    If I use the default call of:
    <title><?php wp_title(); ?></title>

    I end up with this as the title:
    ” ? Post titleSite Name”

Viewing 9 replies - 1 through 9 (of 9 total)
  • bdbrown

    (@bdbrown)

    Hi miri. Can you post a link to your site? Thanks.

    Thread Starter miri

    (@miri)

    Here you go: nadalnews.com. Thanks.

    bdbrown

    (@bdbrown)

    Which version of the theme are you currently using?

    Thread Starter miri

    (@miri)

    1.5.0 per the theme page – it should be the most recent one as I just upgraded a bit ago.

    bdbrown

    (@bdbrown)

    Running WP v4.1?

    Thread Starter miri

    (@miri)

    Yes

    bdbrown

    (@bdbrown)

    Hueman v1.5.0 is using the default WP v4.1 title tag code:

    add_theme_support( 'title-tag' );

    which tells WP to generate a default title for the theme. The default title for the home page should be “sitetitle | sitetagline”. For other category/page/post pages it should be “categoryname/pagename/postname | sitetitle”. Do you by chance have a copy of header.php in your child theme from a previous version of the theme?

    Thread Starter miri

    (@miri)

    Oh, I need to add that to my functions file. That helps. Some of my custom page types are goofed up, but that’s my problem to solve.

    Thanks.

    bdbrown

    (@bdbrown)

    You’re welcome. If you don’t need any more assistance here please mark the topic as resolved. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Post titles’ is closed to new replies.