• I changed the title in the header.php of my template to:

    <title><?php wp_title(); ?> – <?php bloginfo(‘name’); ?> </title>

    The problem is that is displays as follows: “>> Post Name – Blog Name”

    How do I get rid of the “>>” in the begining?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jwbond

    (@jwbond)

    also, my main page of blog is appearing ” – Blog Name”. What to do?

    Not sure where I came up with this, but I think it’s in the documentation somewhere. Here’s a code sample that should work for you:

    <title><?php wp_title('', TRUE); ?><?php if ( !is_home() ) { ?> - <?php } ?> <?php bloginfo('name'); ?></title>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change post <title> for seo’ is closed to new replies.