• Hmmmmm… new changes to WP have made it difficult for me to figure out how to now hide the page’s title.

    It used to work to take the code like this:
    <h1><?php the_title(); ?></h1>
    or
    <h2><?php the_title(); ?></h2>

    and modify it so that it looks like this:
    <!– h1><?php the_title(); ?></h1 –>
    or
    <!– h2><?php the_title(); ?></h2 –>

    Not happening anymore…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter benjiblis

    (@benjiblis)

    From the page.php in editor, is there anything else I can do?

    By Removing <?php echo $content; ?> you can remove the title, but it also removes the other content.

    Echo, echo!!! Who knows echo?

    Help, please 🙂

    Site is: http://www.mauiweddingcoordinators.com

    Thread Starter benjiblis

    (@benjiblis)

    GOT IT!!!

    Go to post_title.php and delete everything!

    MAHALO

    An alternative option would be to use CSS to keep the title from displaying, which gives you the added benefit of still having the content on the page for search engines, but doesn’t disturb the layout.

    In this case the CSS would be:

    h1.entry-title { display:none; }
    h2.entry-title { display:none; }

    A.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hide Page Title’ is closed to new replies.