WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Title Tag w/ source code (1 post)

  1. Kirbyworks
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic