WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Title Bar Repeats on Static Page (5 posts)

  1. Velanche
    Member
    Posted 4 years ago #

    Hello:
    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:

    http://www.velanche.com

    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.
    Velanche

  2. esmi
    Forum Moderator
    Posted 4 years ago #

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

  3. Velanche
    Member
    Posted 4 years ago #

    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.

    Thanks!
    V.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    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

  5. Velanche
    Member
    Posted 4 years ago #

    Hello:
    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.

    Velanche

Topic Closed

This topic has been closed to new replies.

About this Topic