Support » Fixing WordPress » Changing the title structure

  • I want to change how the title is displayed at the top of the browser.

    At the moment mine is “Blog Name >> Page Name”

    I want it to be “Page Name | Blog Name” instead.

    edit: I managed to reverse theorder…. so it’s now “>> Page Name | Blog Name” but as you can see the “>>’ arrows are there, how do I remove them?

Viewing 10 replies - 1 through 10 (of 10 total)
  • You need to change

    <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>


    <title><?php bloginfo('name'); ?> <?php wp_title('|'); ?></title>

    if you don’t specify a character in wp_title(); it defaults the “>>’ symbol.

    Thanks for that.

    Is it possible to have the blog title after the page/post name instead though and still have the | in between?


    Once again.

    And again.

    <title><?php wp_title(''); ?> | <?php bloginfo('name'); ?></title>

    Don’t bump.

    if you don’t specify a character in wp_title(); it defaults the “>>’ symbol.

    That should tell you that you need to specify something in wp_title in order to remove those brackets. Using wp_title('') should do the trick.

    This displays your blog title:
    <?php bloginfo('name'); ?>

    This displays the title of the current entry/page:
    <?php wp_title(); ?>

    Looking both of those up in the codex to find out what the options are:

    Your specific concern already addressed:

    Now you should be able to put those things into whatever order you need.

    Don’t bump? Would you rather I created a new thread every day?

    I only ever bumped after 24 hours.

    Anyway, thanks. 🙂

    You could also have a look at the All In One SEO Plugin. It allows you to change all that stuff.

    If you bump you get told not to. If you start a duplicate thread you get told not to. I suppose slowly disappearing into the oblivion of the WordPress forum is your only polite option.

    Let’s focus on your issue. If that resolved your problem, can you mark this as resolved so everyone knows? Did this solve your problem? Did you find a solution in one of the links and/or code posted on this page?

    As far as bumping goes, yeah, the polite option is the better one. That’s almost always the case. You slowly sink into oblivion if you move off the front pages and no one sees fit to respond. That’s the way forums work; that’s your peers telling you something. No response to your original post means that no one wants to take the time. You could reword your request, post back with the results of your experimentation, update with research you’ve done to solve your problem, tell about the search terms you’ve entered to find your own answer, but otherwise just wait. We don’t all only look at page one of the forum.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Changing the title structure’ is closed to new replies.