Support » Fixing WordPress » title problem

  • Hello, I am new to word press and know very little about coding. I had the double title issue from using the Yoast seo plugin. I changed the header coding using the following forum advice:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

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

    but my site title now appears as <title>David O’Connor but should read David O’Connor.
    here is the code for the header:

    <h1 id="site-title"><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>

    Can anyone help as I can’t figure it out?
    thanks in advance
    David O’Connor
    http://www.davidoconnor.co.uk

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘title problem’ is closed to new replies.