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.