WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing style title (not site title) from static non-blog pages. (4 posts)

  1. mintyfreshbeats
    Member
    Posted 3 years ago #

    The site in question: http://www.maxtannone.com

    WordPress 3.0.1
    Theme: Twenty Ten

    I would like to remove the title from my ABOUT, PROJECTS, and CONTACT/BOOKING tab as it is redundant.

    It seems that these elements are controlled by the .entry-title in my style.css, but changing this also affects the title of my posts under the BLOG (formerly "Home) page, which I want to keep.

    Thank you in advance for your help!

  2. number cruncher
    Member
    Posted 3 years ago #

    I have never posted code here. Let's see if I can get this to be visible. Put the following in place of the usual echo the_title line:

    `<?php if ( is_front_page() ) {
    echo '<h1>';
    {the_title();}
    echo '</h1>';
    }
    else {
    echo '<br />';} ?>`

  3. mintyfreshbeats
    Member
    Posted 3 years ago #

    thank you for the reply...

    i actually just fixed this issue, albeit a slightly different way.

    i realized their is a php file specifically for the "one-column, no sidebar" page template (which the pages in question are using)

    One column, no sidebar Page Template
    (onecolumn-page.php)

    i just edited out one small php echo:

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h1 class="entry-title"><!--?php the_title(); ?--></h1>
    <div class="entry-content">

  4. mintyfreshbeats
    Member
    Posted 3 years ago #

    there*

Topic Closed

This topic has been closed to new replies.

About this Topic