WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove home title? (7 posts)

  1. perryhua
    Member
    Posted 1 year ago #

    Hi can anyone help me with my problem? I've tried everything to remove the Home>>home title and the About>>about title on my website but can't seem to remove it. I've ask this before but no one seems to know how.

    http://ithuit.com

    I've looked into my header.php file and theme functions but can't seem to find the line of code needed to change it. Can anyone help direct me to it?

    The theme I'm using is Basic Simplicity. Thanks for the support!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try contacting the theme's developer directly.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    as suggested in my earlier reply to one of your other duplicate topics, the code is in index.php;

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    (the code in your site is messed with the wrong type of double quotes, and the output to the browser seems to be messed up by some plugin http://wordpress.org/extend/plugins/hide-title/ ?)

    if you need to hide this only on static pages and the home page try wrapping it into a conditional statement;
    and restore it to its original condition at the same time.

    example:

    <?php if( !is_page() && !is_front_page() ) : ?>
    		<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <?php endif; ?>
  4. perryhua
    Member
    Posted 1 year ago #

    I've replaced the line of code but I'm not sure it's taking effect. I also deactivated the Hide Title plugin. Can you verify whether the titles are gone?

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    yes - titles are gone;

    you might need to clear the browser cache (?)

  6. perryhua
    Member
    Posted 1 year ago #

    Thanks so much!

  7. perryhua
    Member
    Posted 1 year ago #

    Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic