How to exclude the page title in WP

by msdobe
2 replies
I've never had a problem excluding the page title in WP for my home page. I just don't put anything in the title and it's worked out fine - I can select it as a static home page and it's perfect.

But with a new website I'm working on, every time I try to leave the title blank, it's added the permalink to the title and I can't delete it. Does anyone have any suggestions?

Thanks!
Jenny
#exclude #page #title
  • Profile picture of the author AnniePot
    You will need create a new page template (wp codex page template link) and exclude the Page Title (wp codex link page title).
    1. Just copy the page template
    2. Look for and remove <?php wp_title(); ?>
    3. Add the new page title to the top <?php /* Template Name: New Page Name */ ?>
    4. Save it
    5. Select the new page template to exclude the title on certain pages
    {{ DiscussionBoard.errors[5200481].message }}
    • Profile picture of the author msdobe
      Thanks Annie! Much appreciated!!
      Jenny
      Signature

      If you can read this.... thank a teacher.
      If you can read this in English... thank a vet!
      {{ DiscussionBoard.errors[5201173].message }}

Trending Topics