Remove Page Titles

  • Anonymous

    #4305

    I’d like to be able to disable the page titles (Ex.: home, services, etc.) from my published pages. Normally, that’s done in the page.php file by removing the line:

    <h2><a href="”<?php">” title=”<?php the_title(); ?>”><?php the_title(); ?></a></h2>

    but that line isn’t in the page.php file in Graphene. How can I remove the page titles?

    =>Donna

    Mod

    Kenneth John Odle

    #27841

    Yes, you want to avoid hacking theme files.

    Add this to your custom CSS:

    .post-title, .entry-title {display:none;}

    (Code between backticks, please. Thanks!)

    Anonymous

    #27842
    .post-ID .post-title, .post-title a {
    display: none;
    }

    Replace post-ID with the ID of your Home, Services etc.., page IDs

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!