Support » Fixing WordPress » Title Bar Repeats on Static Page

  • Resolved Velanche


    I tried creating a static page in WP 3.0, and I’m finding that static pages tend to mess up the title bar at the top of the browser. It would show the title of the page, then shows the blog title, and then repeats it.

    If you go to:

    And click on “About Velanche,” you will see what I mean.

    I followed the Codex instructions on creating a static page, but the title bar result was unexpected.

    Thanks for reading; looking forward to the assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Sounds like you have a problem with your theme’s header.php file.

    I’m not so sure. If it was the header.php file, then wouldn’t that have affected the title bar for the other links (category-based) as well?

    Or a better question may be, what should I be looking for in header.php that distinguishes Pages from categories, code-wise?

    By the way, I’ve modified the Twenty-Ten theme, so the only thing I’ve done to the header had to do with the header image itself, which was done via the Header section of the Appearance area.




    Forum Moderator

    then wouldn’t that have affected the title bar for the other links

    Not if the issue is within a if( is_page() ) loop – which is common in many themes.

    In 2010, you need to check the twentyten_filter_wp_title() function in functions.php

    I’m returning to this issue here. This is all pretty Greek to me, the PHP.

    I’m confounded as to why the title bar displays the way it does considering that it’s part of the default theme, and that I haven’t touched any code that I know of to make it that way.

    If I could get some guidance on where to pinpoint the issue, I’d appreciate it very much. I’m pretty happy with the theme overall, but the page title at the top looks distracting, and I plan on creating an additional page for a contact form. I feel that it will become the same problem as my “About Velanche” page.

    In any event, thanks for reading and looking forward to some assistance with putting this issue to bed.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title Bar Repeats on Static Page’ is closed to new replies.