WordPress.org

Ready to get started?Download WordPress

Forums

Removing Page Titles Where unnecessary (7 posts)

  1. mchaplin897
    Member
    Posted 2 years ago #

    I would like to take out the page titles on my wordpress that appear outside of the header menu.

    For example, when you click on the homepage, the link on the menu bar at the top is highlighted (which I want to keep) but the word "Home" also appears on the page below the navigation menu and above the page content. This is what I would like to remove. I'm using the Structure theme by Organic Themes

    A link is below. Any ideas?

    https://danielschaplin.wordpress.com/

  2. 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() */

  3. ce_bradm
    Member
    Posted 2 years ago #

    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.

  4. mchaplin897
    Member
    Posted 2 years ago #

    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!

  5. ce_bradm
    Member
    Posted 2 years ago #

    @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.

  6. mchaplin897
    Member
    Posted 2 years ago #

    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!

  7. kostas123
    Member
    Posted 2 years ago #

    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" .

Topic Closed

This topic has been closed to new replies.

About this Topic