WordPress.org

Ready to get started?Download WordPress

Forums

Removing the page header for particular pages? (3 posts)

  1. Mandarke
    Member
    Posted 5 years ago #

    Hello, I'm using a static front page for my site titled 'Home'. However, I do not want the title 'Home' to appear at the top of the page. Provisionally I have edited the style.css such that page headings simply do not appear. However, this now applies to all pages which is not what I want. Any suggestions on how to resolve this problem? Many thanks! (ps: Here is my site if you need to see what I'm getting at. Cheers!)

  2. Mandarke
    Member
    Posted 5 years ago #

    No takers whatsoever for this particular quandary? Why might it be that I have little luck with responses on this forum, am I formulating my questions badly? Is this too obvious a question? I havn't found it addressed anywhere else. All support would be greatly received!

  3. renato_s
    Member
    Posted 5 years ago #

    You can wrap your "the_title" tag in a conditional tag. This way you can have WP show the title ONLY if it's not your home page.

    http://codex.wordpress.org/Conditional_Tags#The_Front_Page

    Inside the loop, find your the_title() tag and change it to this:

    if (!is_front_page()) the_title()

Topic Closed

This topic has been closed to new replies.

About this Topic