• When I activate Ryu, I see two <title> tags in the source of my website.

    I believe this is because Ryu declares title-tag theme support in functions.php, but still includes a hard-coded <title> tag in header.php:

    
     /*
      * Let WordPress manage the document title.
      * By adding theme support, we declare that this theme does not use a
      * hard-coded <title> tag in the document head, and expect WordPress to
      * provide it for us.
      */
    add_theme_support( 'title-tag' );
    

    and

    
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two title tags’ is closed to new replies.