• Hi, while using Yoast and Solon theme, I have duplicate title tags.

    Would it break the theme if I removed this from header.php?
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>

    Confirmed that the functions.php page does have this in the code
    add_theme_support( ‘title-tag’ );
    }

    — Would this be the easiest fix to remove the duplicate title tag and still be able to use (and not change) the Yoast plugin?

    I appreciate any assistance or advice. Thank you!

Viewing 1 replies (of 1 total)
  • Hello,

    I think that it might work, but please remember that it’s better to override modified .php files using a child theme in order to avoid losing your modifications after theme update.

    Kind Regards, Roman.

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