Support » Themes and Templates » Problem showing page title on all pages except the homepage

  • wordpressdude


    I’ve searched for this in the WordPress forum and found that the solution is to use is_home() and is_front_page(). I’ve used both, but without success. I’ve used them in the page template, page.php. But WordPress doesn’t respond to this.

    I’ve also tried the code from this post (and used it in page.php):

    and from several other posts, but none of them work.
    I’m using WordPress 2.6 and the only plugins I use are NextGen Gallery and TinyMCE Advanced.

    I would like to know why WordPress doesn’t respond to the code.

Viewing 1 replies (of 1 total)
  • moshu


    Which file to edit… that depends on your settings regarding the main/front page.
    Did you you set up a Page as your main/front page in Settings > Reading? (and another one for your posts page)
    If yes – then is_front_page is the tag in page.php.
    If no – then is_home should be the tag in the index.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem showing page title on all pages except the homepage’ is closed to new replies.