WordPress.org

Ready to get started?Download WordPress

Forums

Static Page with < title > ? (9 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    The title of a static page isn't included in the <title> tag. Is this going to change in the course of the WP development?

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    *knock*

  3. charle97
    Member
    Posted 9 years ago #

    what do you mean?

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    WP 1.3 (under development as mentioned above) supports the creation of static pages. In contrary to the usual blog entries, these static pages have no visible title, neither at the beginning of the page nor in the <title> tag (shown by the browser).

  5. Muffinboy
    Member
    Posted 9 years ago #

    You can create a specific "page.php" file and drop it in the WP dir. WP 1.3 will then use that page instead of the standard "index.php" to render your static pages. While I haven't looked into the title issue specifically, I'm sure you can a meta title directive to that page and have it filled out automatically by WP.

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    OK, I'll see...

  7. ZBRob
    Member
    Posted 9 years ago #

    I'm using static pages instead of WordPress's function, and I just make a variable before I call wp-header.php. That variable contains my preferred title, and then I call it like this:
    <title>Zooiblog<?php if($variable) { echo $variable; } ?></title>
    Works like a charm.

  8. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    Fixed.

  9. southernapproach
    Member
    Posted 9 years ago #

    So your fix should be included in the next nightly build?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.