WordPress.org

Support

Support » How-To and Troubleshooting » Removing Page Titles Where unnecessary

Removing Page Titles Where unnecessary

Viewing 6 replies - 1 through 6 (of 6 total)
  • Drew Jaynes
    Docs Czar

    @drewapicture

    You need to remove (or comment out) the_title() from those pages using the Appearance > Editor menu.

    Possible pages you’ll have to do this in may/may not include:

    • index.php
    • archive.php
    • page.php
    • Any page templates you’re using

    If you choose to comment the code out rather than remove, you’ll just need to change the_title() to this: /* the_title() */

    When you are referring to page titles, you are referring to the title that’s show on the page, and not the html title tag located in the header of the source code, correct?

    To confirm, if the page is not in the navigation, then don’t show the page’s title on the page? If so, then it sounds like you want “pages” to have their titles shown, but “posts” to not have their title’s show?

    If so, it should hopefully be a quick change in one of your template’s files. Touch base and I’ll see what I can do to help.

    mchaplin897
    Member

    @mchaplin897

    Thanks both for your input.

    @drewapicture. I don’t think my theme allows me to go into the code to edit it. Is there possibly a work around in that case?

    @ce_bradm. You are correct. I want to keep the navigation bar as is, but lose the title when it repeats itself below the navigation bar. It’s going to be a small site, so I don’t think I’ll have any pages that are not in the navigation bar. But in the case that I do, I suppose I would want those ones to have titles on them.

    Thanks again!

    @drewapicture. I don’t think my theme allows me to go into the code to edit it. Is there possibly a work around in that case?

    There *may* be a plugin for this, but I was as well going to recommend that you edit your template code.

    In your wp-admin area, can you do the following?
    Appearance -> Editor

    You should then be able to see a listing of files on the right (such as 404 Templage, Archives, etc)?

    Let us know if you can, and I’ll try to help further.

    mchaplin897
    Member

    @mchaplin897

    Unfortunately I can not. There is not “editor” feature under the appearance menu. Do you think there is another way?

    Thanks again for your help!

    kostas123
    Member

    @kostas123

    If you host your blog on WordPress.com then you don’t have the option to access / edit core or template files .
    Only self-hosted WordPress sites have this kinkd of “freedom” .

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing Page Titles Where unnecessary’ is closed to new replies.