Support » How-To and Troubleshooting » [Resolved] How can I hide a Pages title?

[Resolved] How can I hide a Pages title?

  • How can I hide the page title from visitors?

    I want to use my own headline instead of having the page title as the headline.

    Here’s a link to the site
    you’ll see what I mean on that page.

    All help is appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Open up page.php and delete the line that will look something like this:

    <h2><?php the_title() ?></h2>

    From your site example …

    Using CSS , try adding an additional property to one of the .entry-title elements (for example at line 171, per FireBug):

    .element-title {
      margin: 0;
      padding: 0;
      display: none;

    Although I am not sure you are referring directly to that particular “Test Page Title” it may be what you are trying to accomplish. The key to this idea is adding the ‘display:none;’ property.

    Hope it helps some …

    I have same problem before too,

    This is the tips I got from Mark,

    “In most cases, you need to edit the page.php file in the files for your theme. Some themes also have a home.php file for the home page, but most free themes do not.
    You can edit the file using a text editor and FTP software, or you can do it using Appearance > Editor in the WordPress Dashboard. Either way, you should keep a copy of the original file in case something goes wrong.
    Open the page.php file and find the code that looks something like:
    <h1><?php the_title(); ?></h1>
    <h2><?php the_title(); ?></h2>
    Modify it so that it looks like this:
    <!– h1><?php the_title(); ?></h1 –>
    <!– h2><?php the_title(); ?></h2 –>
    On the left side, you are replacing the < with < an exclamation point, two dashes and a space. On the right side, you are replacing the > with a space, two dashes and a >
    Be sure to click the Update/Save button to save the changes.
    If you are using a text editor and FTP software, upload the file to the server after saving the changes.
    Now the header, such as “Home” on the Home page (the title of the page), will not show up in a browser when you view the page. This applies to every page on your site. To correct this on pages where you want the header to show up, you can add it using the HTML editing window in the Dashboard.
    For example, to put “Home” back on the Home page, click on the HTML editing tab in the Dashboard when editing the Home page and insert
    at the top of the page.
    You can also create a page template that has no header and select that for your Home page. This is more complicated. If I have time, maybe I will make a video tutorial to show how to do that. Or let me know if you would like me to help you with that on a consulting basis. It would not take very long to do.”

    Hey guys, thanks for the suggestions.

    I’m gonna try ’em out

    Thanks again

    There is a great video showing step-by-step how to Hide a Pages Title by editing the page.php file at:

    Hide WordPress Page Title From Appearing

    I tried what cais suggested and it worked well. However, it removed blog titles too, which I don’t want- I’ll keep looking 🙂

    thanks for the above link, it worked smoothly!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] How can I hide a Pages title?’ is closed to new replies.