WordPress.org

Ready to get started?Download WordPress

Forums

Remove page title "home" from top of page. (8 posts)

  1. jackgym
    Member
    Posted 2 years ago #

    My front page is set to 'static page' in the TwentyTen theme. I've tried a few suggestions to remove the home page title, including removing this line: <php the_title(); ?> or the_title(); It works while I'm logged in but when I log out the home page displays this message: "Page can't be found". Any suggestions please to remove that message?

  2. cinghaman
    Member
    Posted 2 years ago #

    can you pastebin your code what/where/which file are you change, and a link to your site would also be good to help you further

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    you could try it with css:

    .home .entry-title { display: none; }

  4. ClaytonJames
    Member
    Posted 2 years ago #

    I think you can probably do that pretty easily in TwentyTen by creating a custom menu for the primary navigation. Appearance > Themes > Menus
    I just tried it with a static front page and it seemed to work okay. Just leave "Home" out of your custom menu, and make sure you select some other page for your posts page.

  5. marry1
    Member
    Posted 2 years ago #

    you can try this: .home .entry-title { display: none; }
    [ Signature moderated. ]

  6. jackgym
    Member
    Posted 2 years ago #

    alchymyth, whereabouts in the CSS is the best for that code?

  7. jackgym
    Member
    Posted 2 years ago #

    Thank you alchymyth and everyone. This code did the trick in CSS:
    .home .entry-title { display: none; }

  8. phoopes
    Member
    Posted 1 year ago #

    Question - where should the code be placed in CSS? - i.e., which file, and where? Sorry, coding newbie here....thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic