WordPress.org

Ready to get started?Download WordPress

Forums

How to remove the spaces after the title in the meta <title> tag on pages? (1 post)

  1. asamfox
    Member
    Posted 6 years ago #

    This seems to effect post pages only, my setup in header.php is like this:

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { ?> | <?php } ?><?php bloginfo('name'); ?></title>

    Can anyone help?

Topic Closed

This topic has been closed to new replies.

About this Topic