Support » Fixing WordPress » Two Titles – cannot find original Title Tag

  • lauratagdigital

    (@lauratagdigital)


    I added new code to my Header PHP file in the editor so i could rewrite page titles.

    However i could not find the orignial title tags althouhg I can see them in the source code

    This is the editor code – would title tags be called anything else? This is what I added

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

    This is now giving me two titles in source code.

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php wp_title(”); ?></title>
    <?php sg_header_meta(); ?>
    <?php sg_header_css(); ?>
    <?php sg_header_js(); ?>
    <?php _sg(‘General’)->eFavIcon(); ?>
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_head(); ?>
    <?php _sg(‘Theme’)->eCSS(); ?>
    <?php if (!_sg(‘Modules’)->enabled(‘Theme’)) { ?>
    <link type=”text/css” rel=”stylesheet” href=”http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&#8221; />
    <?php } ?>
    </head>

  • The topic ‘Two Titles – cannot find original Title Tag’ is closed to new replies.