• Why does this code put the >> at the end of the echo, despite putting it in between the two strings?

    Echo bloginfo('name')." ? ".wp_title('');

    It always ends up as “Website Title Post Title >>”, rather than “Website Title >> Post Title”

    Edit: Actually, it doesn’t matter what I put in, it always goes to the end.

    Separating wp_title and putting it on its own echo works

    Echo bloginfo('name').' ?';
    Echo wp_title('');

    Very odd behaviour, guessing there is a reason for it that Im ignorant of

  • The topic ‘? getting moved in title tag’ is closed to new replies.