• Hi all,

    I have searched far and wide, in the forums and elsewhere, and I have not found a solution that works. If you can point me to one, I’d be very happy.

    Current URI is:

    riverbendventuresglobal.megabyet.net/mainpage/

    My question is:

    How can I switch off the display of the title of each page which is displayed at the top of each page, right above the text? I don’t mean the title of the whole web page, I mean the title of each separate page, such as “who we are” or “how it works”. I don’t want that to be displayed in the page itself.

    Condition: This must be done in a way that I do not have to redo every time I update wordpress, so it must be possible via the child theme I am using in some way. I do not want to edit anything in twenty ten theme files, let alone the default theme files.

    This can’t be that hard! But so far, despite all my searching, no luck. If you know how to do it, please share your wisdom.

    THANKS!

    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Mariku

    (@mariku)

    Ok, so I’m getting a bit closer, but still have open questions:

    If in the loop-page.php of the TwentyTen theme, from this:

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php if ( is_front_page() ) { ?>
    <h2 class=”entry-title”><?php the_title(); ?></h2>
    <?php } else { ?>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php } ?>

    I delete these two lines:

    <h2 class=”entry-title”><?php the_title(); ?></h2>
    <h1 class=”entry-title”><?php the_title(); ?></h1>

    the page title does not get displayed anymore on my pages – progress!

    That leaves two questions:

    1. The page title is not displayed, but the text starts with quite a large gap between above the text of the page and below the menus. How can I lessen that space?

    2. How can I implement the whole modification without modifying anything within the TwentyTen theme? How exactly do I do that in my child theme? So far, I only have a child theme css, and things I do in there work very well, as they should. How do I add the above php changes to my child theme, so that future upgrades of WordPress will not affect it?

    T H A N K S ! ! !

    Matt

    Thread Starter Mariku

    (@mariku)

    I also found someone’s recommendation in an older thread here that says:

    When you create a page, in the custom fields section. Name…add “hide_title” (no quotes). Value…”true” (no quotes) Do this for every page you don’t want the title to show on.

    This seems like a very lean solution – but I tried this, and it did not work.

    Does this solution refer to the title of the web page, or the title of each page? How can I make this one work? Seems preferable over messing with loop-page.php.

    THANKS!

    Matt

    Thread Starter Mariku

    (@mariku)

    Ideally, I would prefer a CSS solution for this.

    Matt

    Thread Starter Mariku

    (@mariku)

    It is absolutely impossible that I should be so advanced in WordPress that no one out there knows the answer to my question.

    Is this such a difficult question? I can’t imagine that!

    Please, if you know the solution, I would really appreciate your help.

    Thanks!

    Matt

    Thread Starter Mariku

    (@mariku)

    Hi again,

    just thought I’d let you all know that at least in Twenty Eleven, the following two solutions can work well, depending on what exactly you want to do.

    This:

    .page #content .entry-title {
    display:none;
    }

    or this:

    .page .entry-title {
    display:none;
    }

    On a side note, I’m a bit surprised, to say the least, that my question got no responses at all, and am at a total loss as to why that is. Not sure how often answers are actually found in these forums, but will keep trying… although it does make me feel like I’m talking to myself here, and I’m probably not going to continue that for very long. Disappointing.

    Cheers,

    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How switch off page titles in twenty ten? (Yes I did search but nothing works!)’ is closed to new replies.