• Resolved tdellaringa

    (@tdellaringa)


    Well if the “kick butt” yahoo search worked, I could search on this, but it doesn’t :/.

    I want a custom page title for each page, but the TITLE is only contained in the header.php file. Anyone know of a way short of javascript to do this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • moshu

    (@moshu)

    I am not sure I understand correctly what you are asking for… but if this is about the <title></title> tag in the head which is displayed on the top of the browser – it displays (by default) the title of the post/Page/category you are on.

    mylagoon

    (@mylagoon)

    Sorry, can you further calrify, maybe with an example, exactly what you mean by ‘custom page title’?

    If you mean show the name of the page in the title, this is possible with the following code:

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

    But that should be coded into most themes anyway.

    moshu

    (@moshu)

    Re search: there is a “sticky” post on the main page (hint: red/pink bg colour)

    Thread Starter tdellaringa

    (@tdellaringa)

    Mylagoon – that is exactly what I wanted. I made my own theme so I didn’t have that in there. Thanks!

    silkjaer

    (@silkjaer)

    You could use conditional tags in your <title></title> to specify what it should be eg. on a single post page etc..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom page titles?’ is closed to new replies.