WordPress.org

Ready to get started?Download WordPress

Forums

Ifeature ..how to remove the home title from the homepage ? (9 posts)

  1. macker
    Member
    Posted 2 years ago #

    I can't find a consistant answer on this..

    i'm using i feature and i'm trying to remove the home title from the homepage(static), not the menubar...how do i do this? coding skills are limited to staring at screen with puzzled look..

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    There are literally thousands of WordPress themes - which means that many people won't be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

  3. macker
    Member
    Posted 2 years ago #

    HOW DO I DO THAT?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Post a link to your site so people can see the theme. And please don't SHOUT. It's considered offensive.

  5. macker
    Member
    Posted 2 years ago #

    sorry about that i didn't notice caps lock was on... http://seo-outlook.org/

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Two options:

    1a. If your theme has a front-page.php template file, edit that file and remove <h2 class="posts_title"><?php the_title();?></h2>

    1b. If it doesn't have a front-page.php template file and the front page uses the default page template, you'll need to edit page.php and change:

    <h2 class="posts_title"><?php the_title();?></h2>

    to:

    <?php if(!is_front_page() ) :?> <h2 class="posts_title"><?php the_title();?></h2><?php endif;?>

    2. Hide the title via CSS by adding:

    body.home.page .posts_title {display:none}

    to the bottom of your theme's stylesheet.

  7. macker
    Member
    Posted 2 years ago #

    Thank you so much i used option 1B and it worked..out of curiosity, what exactly does it do? does it just remove the title from the homepage or does it remove it completely and search engines can't see it?

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It removes the the title completely from the front page only. You could opt for a variation on Option 2 and use

    body.home.page .posts_title {
    position:absolute;
    top:-9999px;
    left:-9999px;
    }

    if you want the title left there for the search engines but you're not going to get much juice of a title that just says "Home". :-)

  9. macker
    Member
    Posted 2 years ago #

    Hi , everytime this theme is updated everything has to be redone which is problematic...so everytime they updated i would use the code set above to remove the home title...now they changed everything around and i can't find the way to remove home from the hompage///any ideas? my site is the same one listed above from 10 months ago

Topic Closed

This topic has been closed to new replies.

About this Topic