WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up a static home page. I would like the title, Home, to show on the menu, but not on the page. Can you tell me how to accomplish this? Thank you.

share|improve this question

A possible quick fix is to duplicate your page.php or index.php template file, rename it front-page.php, then open it and delete the_title(); and any html tags around it, like <h1> </h1> or whatever the title is wrapped in.

share|improve this answer

Both Chip & Milo's answers would work, or, if you have body_classes enabled (so that unique classes are added to each page's body class) you could just add this to your CSS:

.home h1 { display: none; }

Depending on the theme that h1 will have a unique style applied to it as well, like:

.home h1.page-title {display: none; } 

which would be even better, as then you wouldn't accidentally hide any other tags on that page.


share|improve this answer

An alternate approach to Milo's suggestion is to modify page.php to wrap the_title() in a conditional. e.g. replace this:

<h1><?php the_title(); ?></h1>

...with this:

<?php if ( ! is_front_page() ) { ?>

    <h1><?php the_title(); ?></h1>

<?php } ?>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.