• blong

    (@blong)


    I am using the twenty ten theme. I have links to seperate categories of posts in my navigation bar and on the page it lands on, it says Category Archives: with the name of the category above the posts. Is there a way to remove this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    edit archive.php;
    remove the part enclosed in h1 tags

    Thread Starter blong

    (@blong)

    This is what I deleted

    <h1 class="page-title">
    <?php if ( is_day() ) : ?>
    				<?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
    <?php elseif ( is_month() ) : ?>
    				<?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?>
    <?php elseif ( is_year() ) : ?>
    				<?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?>
    <?php else : ?>
    				<?php _e( 'Blog Archives', 'twentyten' ); ?>
    <?php endif; ?>
    
    			</h1>

    but it still says the category. Did I delete the wrong thing?

    Thread Starter blong

    (@blong)

    Ok I figured it out. I did delete the <h1> tags but they were in category.php. Thank you so much for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Category Name From Posts’ is closed to new replies.