WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing Home Title on Static Front Page (7 posts)

  1. rcvaughn
    Member
    Posted 2 years ago #

    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...

  2. tigtog
    Member
    Posted 2 years ago #

    Your site URL please?

  3. rcvaughn
    Member
    Posted 2 years ago #

    edvaughnart.com/wordpress

  4. rcvaughn
    Member
    Posted 2 years ago #

    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.

  5. tigtog
    Member
    Posted 2 years ago #

    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.

  6. tigtog
    Member
    Posted 2 years ago #

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

  7. rcvaughn
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic