Support » Fixing WordPress » Removing Home Title on Static Front Page

  • Resolved rcvaughn


    Ok. I have looked at all other posts, and none of them have seemed to help me.
    All I want to do is remove the title of the Home page. It is pretty obvious that your on the home page, therefore the text is not needed.

    I have gone into my home page template file, and taken out the code, edited the code and NOTHING works. can anyone help me?
    This is what I have to start with:

    <?php if ( is_front_page() ) { ?>
    <h2 class=”entry-title”><?php the_title(); ?></h2>
    <?php } else { ?>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php } ?>

    I have taken out the h2, with no luck. Then tried taking out the h1 with no luck. Then tried it all… and it still appears!!!!!!
    Please can someone help me? I am fairly new to PHP so I’m learning as I go so I can’t write any on my own yet…

Viewing 6 replies - 1 through 6 (of 6 total)
  • tigtog


    Your site URL please?

    I figured out my problem. The site was taking forever to update and the only way I have found to fix this for now is to disable the caching. Guess I’ll have to keep that off until I’m done with the site, as it takes way too long to update.



    OK, I see the problem.

    You might need to take that code-snippet out of the parent sliding-doors theme rather than just removing it from your child-theme, although I’m not entirely sure why what you’ve done wouldn’t be working.



    Ah – crossposted! So, the caching was mucking up? Should have thought of that.

    Yea..took me forever, but I figured it out when nothing was updating…took over 5 minutes before the Site Description updated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing Home Title on Static Front Page’ is closed to new replies.