Forums

Title tag PHP issues, seems to be ignored (1 post)

  1. chazbeaner
    Member
    Posted 4 years ago #

    I have the title code in header.php set to:

    <title><?php if ( is_single() ) { ?><?php } ?><?php wp_title(''); ?> » <?php bloginfo('name'); ?></title>

    which should return:

    Post/Page Title >> BlogName

    What I'm getting instead on my pages is:

    BlogName >> Post/Page Title

    And on my single posts:

    BlogName >> >> Post/Page Title

    As the PHP title code is working beautifully on another WP install, I'm at a loss. I've tried passing the argument to get rid of the extra characters, but that is being ignored much like the change in order is being ignored...

    Thoughts??

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.