WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] Title Tag w/ source code

[Plugin: WordPress SEO by Yoast] Title Tag w/ source code

  • I replaced the contents of my header.php file with the following (according to Codex instructions):

    <?php
    if ( is_front_page() ) :
    get_header(‘full’);
    elseif ( is_page(‘customer-showcase’) ) :
    get_header(‘full’);
    else :
    get_header(‘default’);
    endif;
    ?>

    and now I get the following in all my title tags, which looks like it might have come from your plugin:

    “<?php
    /*
    * Print the <title> tag based on what is being viewed.
    */
    global $page, $paged;
    wp_title( ‘|’, true, ‘right’ );
    // Add the blog name.
    bloginfo( ‘name’ );
    // Add the blog description for the home/front

    I have no idea how this happens – any ideas or suggestions to fix?

    http://wordpress.org/extend/plugins/wordpress-seo/

  • The topic ‘[Plugin: WordPress SEO by Yoast] Title Tag w/ source code’ is closed to new replies.